The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to make All Web pages with one link., So the music player on top doesnt stop and over again!
Dj Sunny
post Nov 9 2010, 06:45 AM
Post #1





Group: Members
Posts: 3
Joined: 9-November 10
Member No.: 13,106



Hi Everyone,


is there any way i can make a web page with only one link just like this website below.

http://www.nachda-punjab.org/


If you notice when you click on Home/Teams/Sponsorship they all have one link showing which is " http://www.nachda-punjab.org/# " . The only reason i wana do that is i have a music player on top of the page and i have to put the music player code on all the pages and when someone click on the other link and the music starts playing from the beginning. I just want the same as that website like i dont want the music to start playing over.


Help Me Guys.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 9 2010, 11:38 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



It's a single page. All of the content is there already, but most of it hidden from start with CSS. Then JS manipulates CSS to show a specific section when a link i clicked. It's badly implemented on that page though, because if JS is disabled but CSS is available the content is forever hidden.

Google javascript+CSS+hide+show

Here's an article on the subject.
http://www.alistapart.com/articles/eatcake/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 9 2010, 11:52 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Oops! I jumped to conclusions. That's not how they do it. They seem to use AJAX trickery to load different content. That means the page is totally JS dependent. Not good IMO.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Dj Sunny
post Nov 9 2010, 11:55 PM
Post #4





Group: Members
Posts: 3
Joined: 9-November 10
Member No.: 13,106



QUOTE(pandy @ Nov 9 2010, 11:52 AM) *

Oops! I jumped to conclusions. That's not how they do it. They seem to use AJAX trickery to load different content. That means the page is totally JS dependent. Not good IMO.



So how can that be done? is there any video tutorial or tutorials? Please Help me Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Nov 10 2010, 01:49 AM
Post #5


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



The better way to do it is the way described in the link pandy linked to earlier:
http://www.alistapart.com/articles/eatcake/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Dj Sunny
post Nov 10 2010, 05:55 AM
Post #6





Group: Members
Posts: 3
Joined: 9-November 10
Member No.: 13,106



QUOTE(Darin McGrew @ Nov 10 2010, 01:49 AM) *

The better way to do it is the way described in the link pandy linked to earlier:
http://www.alistapart.com/articles/eatcake/



Is there any other way? i just want my music not to reload or play on every page.Thank you So much guys.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 10 2010, 06:00 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



How about opening the music player in a popup window?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Nov 11 2010, 08:18 AM
Post #8


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Or frames. But for many reasons Christian's suggestion is better. Mine was just for the record.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 05:31 AM