Adobe Dreamweaver Forums



Last 10 THreads :         spry menubars not lining up in IE (Last Post : coftscootourb - Replies : 148 - Views : 536 )           »          display strips leading 0 (Last Post : Azadi - Replies : 1 - Views : 2 )           »          Image enlarge on mouse-over (Last Post : accicalacrism - Replies : 5 - Views : 190 )           »          net links (Last Post : almanson - Replies : 2 - Views : 3 )           »          mx 04 versus cs3 pro (Last Post : richard - Replies : 0 - Views : 1 )           »          Locking resize handles in browser. (Last Post : Jasper Thayer - Replies : 3 - Views : 4 )           »          Flash buttons don't work (Last Post : Murray *ACE* - Replies : 2 - Views : 3 )           »          Does DW CS3 write better php than DWMX2004? (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          PagesThemselves Look OK After Removing Link, But WhenSecond Nav Bar is Used Formatting is Lost (Last Post : Murray *ACE* - Replies : 5 - Views : 6 )           »          Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path (Last Post : Murray *ACE* - Replies : 7 - Views : 8 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Fireworks
 
Tags:

Reply
  #1 (permalink)  
Old 07-23-2008, 12:16 PM
Magicalwonders
 
Posts: n/a
Diggs:
Default Rollover buttons with unexpected results

Hello Folks,

I'm hoping someone can point me in the right direction with a problem I'm
having with rollover buttons.

I've used Fireworks to create five rollover buttons with round corners onto a
single transparent canvas. I've exported the images as gif and then pasted the
relevant code into Dreamweaver.

I'm getting two results that are puzzling me.

1. The images are not being displayed with transparent backgrounds, as you can
see at this url:
http://www.magicalwonders.com/rollover/index2.html The corners are showing
which is not what I want. I notice that there are four types of gif than can be
exported when making rollovers. So far, I've tried using Gif adaptive 256 and
Gif Websnap 256 with no success.

2. The second puzzle is that including the javascript code seems to have
increased the top margin for the background of the page. If you compare the
page before any code is added, you can see the difference:
http://www.magicalwonders.com/rollover/index.html

Hope someone can advise

Many thanks,

Myles

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2008, 02:08 PM
Magicalwonders
 
Posts: n/a
Diggs:
Default Re: Rollover buttons with unexpected results

Just a quick update. I've corrected all the errors in the code and that has
fixed the margin problem.
http://www.magicalwonders.com/rollover/index3.html

So now I just have the issue of rollover buttons with round corners. Not sure
what I'm doing wrong?

Hope someone can help.

Myles

Reply With Quote
  #3 (permalink)  
Old 07-23-2008, 02:08 PM
Magicalwonders
 
Posts: n/a
Diggs:
Default Re: Rollover buttons with unexpected results

Ooops! I've just spotted that I had "No transparency" selected in the optimise
options.

I've currently selected "Index Transparency" which seems to work well, but not
sure what the difference is to "Alpha Transparency"?

Reply With Quote
  #4 (permalink)  
Old 07-23-2008, 02:09 PM
Alex Marino
 
Posts: n/a
Diggs:
Default Re: Rollover buttons with unexpected results

Myles,

Try exporting your menu images as png 8 files with index transparency.

alex

Magicalwonders wrote:
> Just a quick update. I've corrected all the errors in the code and that has
> fixed the margin problem.
> http://www.magicalwonders.com/rollover/index3.html
>
> So now I just have the issue of rollover buttons with round corners. Not sure
> what I'm doing wrong?
>
> Hope someone can help.
>
> Myles
>

Reply With Quote
  #5 (permalink)  
Old 07-23-2008, 02:42 PM
Magicalwonders
 
Posts: n/a
Diggs:
Default Re: Rollover buttons with unexpected results

Thanks Alex,

I missed your reply before posting my last message. I've managed to get this
working O.K. using gif adaptive 256 with index transparency on the export.
http://www.magicalwonders.com/rollover/index3.html

There seem to be a lot of different types of gifs! I'll have to read up about
them to see which is recommended for what! Too much choice

Many thanks,

Myles

Reply With Quote
Reply


Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk