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.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-29-2008, 08:34 AM
LindnArden
 
Posts: n/a
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

Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 12:36 PM
Murray *ACE*
 
Posts: n/a
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
>


Reply With Quote
  #3 (permalink)  
Old 07-29-2008, 01:11 PM
LindnArden
 
Posts: n/a
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.

Reply With Quote
  #4 (permalink)  
Old 07-29-2008, 01:16 PM
Murray *ACE*
 
Posts: n/a
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.
>


Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 04:19 PM
Michael Fesser
 
Posts: n/a
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
Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 05:31 PM
Al Sparber - PVII
 
Posts: n/a
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
>


Reply With Quote
  #7 (permalink)  
Old 07-30-2008, 08:14 AM
LindnArden
 
Posts: n/a
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

Reply With Quote
  #8 (permalink)  
Old 07-30-2008, 09:42 AM
LindnArden
 
Posts: n/a
Re: Show / Hide layers making page scroll back to top

Answering my own questions ! (after a fashion)

Took wmode="transparent" out of the flash movies and hey presto....however it now seems to have affecvted the z-index somewhat adversely...:confused;
Reply With Quote
  #9 (permalink)  
Old 07-30-2008, 01:43 PM
Murray *ACE*
 
Posts: n/a
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
>


Reply With Quote
  #10 (permalink)  
Old 07-30-2008, 02:59 PM
LindnArden
 
Posts: n/a
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;

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


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

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



All times are GMT. The time now is 06:39 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Loans | Cheap Promotional Items | Internet Advertising | Credit Cards | Credit Report



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114