![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Show / Hide layers making page scroll back to top
Hi all !
I have a page here where the buttons half way down initiate some show/hide layers - on screen sizes where the user has to scroll down to see all the buttons, initiating the show/hide layers makes the screen scroll back to the top - it's not the end of the world but it is annoying http://www.drawbox.co.uk/knoll/design3/page1.html I hope this makes sense and thanks in advance for any assistance |
|
|||
|
Re: Show / Hide layers making page scroll back to top
This is a very poor way to make a 'website'. All your content is on a
single page.... Anyhow, change this - <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('spec','','graphics/spec2.gif',1)"><img src="graphics/spec1.gif" name="spec" width="300" height="75" border="0" id="spec" onclick="MM_showHideLayers('imageslayer','','hide' ,'finisheslayer','','hide','magiczoom','','hide',' specificationsinner','','show')" /></a> to this - <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('spec','','graphics/spec2.gif',1)" onclick="MM_showHideLayers('imageslayer','','hide' ,'finisheslayer','','hide','magiczoom','','hide',' specificationsinner','','show');return false"><img src="graphics/spec1.gif" name="spec" width="300" height="75" border="0" id="spec" /></a> Note two changes - 1. Moving the onclick event from the <img> tag to the <a> tag, and 2. Adding the ";return false" to the event call -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "LindnArden" <webforumsuser@macromedia.com> wrote in message news:g6mh5f$33t$1@forums.macromedia.com... > Hi all ! > I have a page here where the buttons half way down initiate some show/hide > layers - on screen sizes where the user has to scroll down to see all the > buttons, initiating the show/hide layers makes the screen scroll back to > the > top - it's not the end of the world but it is annoying > > http://www.drawbox.co.uk/knoll/design3/page1.html > > I hope this makes sense and thanks in advance for any assistance > |
|
|||
|
Re: Show / Hide layers making page scroll back to top
Hi Murray, thanks for that - I'll give it a blast...
PS It's not the entire site, I haven't finished (started, really) the navigation yet...there are at least another 96 products that need similar pages to this one. |
|
|||
|
Re: Show / Hide layers making page scroll back to top
Yikes....
Good luck. -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "LindnArden" <webforumsuser@macromedia.com> wrote in message news:g6n1d6$kmj$1@forums.macromedia.com... > Hi Murray, thanks for that - I'll give it a blast... > > PS It's not the entire site, I haven't finished (started, really) the > navigation yet...there are at least another 96 products that need similar > pages > to this one. > |
|
|||
|
Re: Show / Hide layers making page scroll back to top
..oO(LindnArden)
>PS It's not the entire site, I haven't finished (started, really) the >navigation yet...there are at least another 96 products that need similar pages >to this one. Uh ... Remember that not all users have JavaScript and Flash. To them the site will look pretty naked and totally useless. There's not much of usable content. For example why is the specification put into Flash instead of proper HTML? This doesn't make any sense, but creates a lot of problems! Micha |
|
|||
|
Re: Show / Hide layers making page scroll back to top
You might want to use a widget such as our Glide Panel to handle that lower
panel. That way, if someone visits the page with script disabled, all of the content will be visible. http://www.projectseven.com/products...anel/index.htm If you have CS3, there are some basic (and free) widgets included. -- Al Sparber - PVII http://www.projectseven.com Fully Automated Menu Systems | Galleries | Widgets http://www.projectseven.com/go/Elevators "LindnArden" <webforumsuser@macromedia.com> wrote in message news:g6mh5f$33t$1@forums.macromedia.com... > Hi all ! > I have a page here where the buttons half way down initiate some show/hide > layers - on screen sizes where the user has to scroll down to see all the > buttons, initiating the show/hide layers makes the screen scroll back to > the > top - it's not the end of the world but it is annoying > > http://www.drawbox.co.uk/knoll/design3/page1.html > > I hope this makes sense and thanks in advance for any assistance > |
|
|||
|
Re: Show / Hide layers making page scroll back to top
Just when there was a light at the end of the tunnel.....I have switched the
'specifications' layer from flash to html which works fine UNTIL I give it the attribute - overflow: auto; - which I need to account for different text volumes No problem in IE but the Flash file layers stop working in firefox.....slightly annoying to say the least |
|
|||
|
Re: Show / Hide layers making page scroll back to top
Let's see your page, please.
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "LindnArden" <webforumsuser@macromedia.com> wrote in message news:g6p4d5$rq$1@forums.macromedia.com... > Just when there was a light at the end of the tunnel.....I have switched > the > 'specifications' layer from flash to html which works fine UNTIL I give it > the > attribute - overflow: auto; - which I need to account for different text > volumes > > No problem in IE but the Flash file layers stop working in > firefox.....slightly annoying to say the least > |
|
|||
|
Re: Show / Hide layers making page scroll back to top
http://www.drawbox.co.uk/knoll/design3/page1.html
Here's version.....er...I've lost count....I've done a hide layer onLoad to the two layers with the flash content but as you can see it's not exactly ideal as the content still flashes up while the swf loads I guess before the actual layer I want ends up on top - I've tried messing around with the z-index to no avail... :frown; |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|