JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 9th, 2004, 04:54 PM
Bristow Bristow is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 Bristow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Linking to Named Anchors in Hidden dhtml layers

I am trying to link to some of my hidden layers on a site I am developing.

I have a page that has numerous hidden layers that are gotten to through the onmouseover on various texts and images.

Now I want to be able to link from a seperate file to some of those specific layers. I have placed named anchors into thes ehidden layers, but when I go to http://www.mysite.com/mypage.php#namedanchor I am not taken to this hidden layer. I am not sure if it is because it is in a timeframe or not.

So basically I am looking for a solution so that I can link another page to specific hidden layers that are in a timeframe.

Hopefully someone here can help.

Jeff

Reply With Quote
  #2  
Old July 12th, 2004, 07:45 PM
Bristow Bristow is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 Bristow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
anyone know a solution?

Reply With Quote
  #3  
Old July 12th, 2004, 08:00 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
I'm confused as to why you'd want to link someone to a layer that is hidden? It doesn't make any sense to me.
Although I'm not entirely sure, depending on which method you're used to hide the layer, the browsers may ignore it, meaning you won't be able to get to your named anchor.
__________________
DevArticles Moderator
BlueSix - Web Development and Consulting

Reply With Quote
  #4  
Old July 12th, 2004, 08:39 PM
Bristow Bristow is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 Bristow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have hidden layers that when your on that page you clikc a link and the hidden layer becomes visiable. It makes for a very smooth transition and no new page is loaded. Now that I have most of the site built in these layers I now want to link other pages that are not in the layers to a specific hidden layer so that the person doesn't always go to the very front of the page. A timeline is used to make hidden layers visible and the visible hidden.

An example is here:

http://www.nms-intl.com/new/

when you roll over a link the text appears on the page. I want to be able to link someone directly to one of those specific things without them having to go to the p[age and then roll over the link again. But anchors in hidden layers do not bring you to the point in the timeline where the layer becomes visisble so it is just like linking the person to the front of the site even though I am trying to let them see content ion one of the hideden layers.

Reply With Quote
  #5  
Old July 12th, 2004, 09:15 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
You might need to use an onload event to load (display) the correct layer for that page.

Reply With Quote
  #6  
Old July 12th, 2004, 11:16 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Just found this very interesting looking method:
Code:
divObject.doScroll("pageDown");
Upon further research, it appears that it is IE only

Reply With Quote
  #7  
Old July 14th, 2004, 02:13 PM
Bristow Bristow is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 4 Bristow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can't get anything to work, and have searched the internet high and low.

Thanks for helping, I have come to the conclusion that this is not possible as of yet in any web browser.

Reply With Quote
  #8  
Old July 14th, 2004, 08:45 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Location: Sydney, AU
Posts: 2,058 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 6 m 11 sec
Reputation Power: 8
Send a message via ICQ to stumpy Send a message via MSN to stumpy
Yeah - I was about to recommend you prolly go with a more traditioanl approach. Sure, it might be kewl to do something new, but there were a few accessibility issues with your site. Users have come to expect things to work a certain way, and when that doesn't happen, they get alienated.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > Linking to Named Anchors in Hidden dhtml layers


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway