|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
anyone know a solution?
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
You might need to use an onload event to load (display) the correct layer for that page.
|
|
#6
|
||||
|
||||
|
Just found this very interesting looking method:
Code:
divObject.doScroll("pageDown");
![]() |
|
#7
|
|||
|
|||
|
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. |
|
#8
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Linking to Named Anchors in Hidden dhtml layers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|