•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 427,308 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,759 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 1994 | Replies: 2
![]() |
•
•
Join Date: Jul 2006
Posts: 11
Reputation:
Rep Power: 3
Solved Threads: 0
Hi y'all...
I'm just getting my feet wet with this whole "usability" thing. Now, from what I've gathered, frames are bad and a thing of the past. Okay, now i'm making my websites with Divs and CSS. Here is my question. On one page of my site, I would like to open a media player (to start playing songs). As the user browses the rest of my site, I would like to have the songs continue to play. I cant think of how to do this though, because each time the user clicks to navigate to a new page of my site, the entire page (including the media player)will be reloaded. Any ideas?
Thanks~
Andrew
I'm just getting my feet wet with this whole "usability" thing. Now, from what I've gathered, frames are bad and a thing of the past. Okay, now i'm making my websites with Divs and CSS. Here is my question. On one page of my site, I would like to open a media player (to start playing songs). As the user browses the rest of my site, I would like to have the songs continue to play. I cant think of how to do this though, because each time the user clicks to navigate to a new page of my site, the entire page (including the media player)will be reloaded. Any ideas?
Thanks~
Andrew
•
•
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,165
Reputation:
Rep Power: 7
Solved Threads: 59
Sigh no matter how we try to abstract it way HTTP is a stateless protocol. Why o why do we humans beat ourselves up trying to replace the desktop with the internet ?
The only way I can think of would be to use AJAX for everysingle hyperlink to request and load the requested page into the main default home page where you're user arrives.
so user clicks a link, javascript creates a HttpRequest object, requests teh URL from the server, and then does something like
var mainDIV = document.getElementById("maindiv");
mainDIV.innerHTML = requestobj.responseText;
The only way I can think of would be to use AJAX for everysingle hyperlink to request and load the requested page into the main default home page where you're user arrives.
so user clicks a link, javascript creates a HttpRequest object, requests teh URL from the server, and then does something like
var mainDIV = document.getElementById("maindiv");
mainDIV.innerHTML = requestobj.responseText;
•
•
Join Date: Jul 2004
Location: North East Indiana
Posts: 491
Reputation:
Rep Power: 5
Solved Threads: 20
When you're starting a media player, it's ok to open a new window the size of the media player. It's a good idea to warn your user before hand, in case something happens at the point where they click on it and they don't see it open. (As a general rules, only PDFs and control/player functions should open in new windows.)
www.uncreativelabs.net
Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Site Layout and Usability Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Mozilla + Frames? (Windows NT / 2000 / XP / 2003)
- Frames of Pictures (C++)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: links to other pages
- Next Thread: Dreamweaver Webpage Size



Linear Mode