Go Back   Computer Forums > General Computing > Server Administration
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-17-2009, 02:44 PM   #1
Fully Optimized
 
ace777's Avatar
 
Join Date: Nov 2006
Posts: 3,110
Default Help with my webpages

I'm designing a webpage, its been quite a while since I have made them, I remember making one that was split, into two separate pages in the same window, does anyone have the HTML code for that? The main idea here is to have music playing while you search the site so it doesn't restart every time you load a new page.
__________________

__________________
2.4 Ghz celeron, 1.25 PNY pc 2700 RAM,PNY VERTIGO 5200 FX , 40 GB HDD
900Mhz 256 RAM , MX 4000, 30 GB HDD
1.9Ghz dual core AMD Athlon 2 GB 384 VRAM 320 Gb HD
2.3 tricore phenom,2 GB RAM , EVGA 9600 GSO,250 GB SSD
2.6 X4 620, 4GB RAM, 9600 GSO, 500 GB HDD/I'm part of The Project
ace777 is offline   Reply With Quote
Old 09-17-2009, 02:46 PM   #2
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Help with my webpages

There are multiple ways of doing this.... The "best" way would proberbly be to use AJAX to just load new content into the page when you click on a link. The other way would be to use a Frameset... But they are being phased out really, and arnt looked on very highly.
__________________

j03 is offline   Reply With Quote
Old 09-17-2009, 02:55 PM   #3
Fully Optimized
 
ace777's Avatar
 
Join Date: Nov 2006
Posts: 3,110
Default Re: Help with my webpages

ok, I'm really basic in javascript, is there anyway to copypasta the mp3 and the other page links into an existing script? if not how do you set page frames, This is for nothing big, its a site for me and about 25 other people to use.
__________________
2.4 Ghz celeron, 1.25 PNY pc 2700 RAM,PNY VERTIGO 5200 FX , 40 GB HDD
900Mhz 256 RAM , MX 4000, 30 GB HDD
1.9Ghz dual core AMD Athlon 2 GB 384 VRAM 320 Gb HD
2.3 tricore phenom,2 GB RAM , EVGA 9600 GSO,250 GB SSD
2.6 X4 620, 4GB RAM, 9600 GSO, 500 GB HDD/I'm part of The Project
ace777 is offline   Reply With Quote
Old 09-18-2009, 08:45 AM   #4
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: Help with my webpages

I believe what you are referring to is frames.
Here is an explanation: http://www.w3schools.com/htmL/html_frames.asp.
I would STRONGLY advise against using frames, since many browsers have compatibility issues with displaying them.

The other option is using an iframe (essentially the same thing, still not supported well, but more so than traditional frames).
Here is a link: http://www.w3schools.com/TAGS/tag_iframe.asp.

The problem you run into here is the stateless nature of the http protocol. If you were to use ajax, it would have to be part of a much larger solution than copy-pasting some code.
Take this website for example:
2 Advanced
The music remains (without re-loading) on every page, BUT...
The entire page is flash. While their appears to be a re-load of the whole page, closer inspection of the url on each page reveals that you are still looking at the same page. As a rule of thumb for me: Unless the audio is loaded into an swf and pre-loaded properly, don't use audio on your website. Partially because you run into codec problems and bandwidth problems. The ajax requests for returning an audio file would most likely kill any bandwidth limit you have setup with your ISP.

Hope this helps. Let me know if you have any other questions/concerns.
__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Old 09-18-2009, 11:16 AM   #5
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Help with my webpages

I'm not suggesting that the audio file be loaded dynamically, just the text content for the site.
j03 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:21 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0