Swap image from down state
How do I return the down state of an image to the up state
onClick? I tried Swap Image Restore, that doesn't work. I want a
button that contains two states, an up and a down state. When you
click on the image in the up state, it goes to the down state. When
you click on the image in the down state, it goes to the up state.
Any help ideas, help, advice, or simple hellos would be greatly
appreciated. Thanks!
Rob,
I've done some research on this and from what I have
gathered, it isn't possible to do in the method we've been trying
to do. I have found a way to accomplish my goal though. I haven't
written the script yet, but it's a pretty simple idea, definitely
beginner level javascript.
For the onClick in the img tag, you have it refer to a js
function that adds 1 the value of a variable. So if you click the
button once the value of your variable would change from 0 to 1.
When this button is clicked again, the value would change to 2. But
you then include a line that say something to the effect of if x
> 1, x = 0. Basically on each click of the button, the value
would change to either 0 or 1. Now judging off that value is where
you define the source for the image.
Like I said, I haven't written the script yet, I have more
important things to tend to on the project I'm working on right
now, but when I do write it, I'll try to remember to post it
here.
Similar Messages
-
How to stop swap image from rescrolling window
I have a hot spot on a picture with an onclick behavior which
swaps the image in a certain slice to another image.
This is to be published on the web.
However, the picture is too large to fit on the screen, and
the hot spot is low on the image, requiring the user to scroll down
to see and thus click on it. When the spot is clicked, the picture
rescrolls to the top. How do i keep the picture to stay where it
is, so that it doesnt appear to move after the click?Let's see the code, 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
==================
"strweb1026" <[email protected]> wrote in
message
news:g0k481$2e5$[email protected]..
>I have a hot spot on a picture with an onclick behavior
which swaps the
>image
> in a certain slice to another image.
> This is to be published on the web.
> However, the picture is too large to fit on the screen,
and the hot spot
> is
> low on the image, requiring the user to scroll down to
see and thus click
> on
> it. When the spot is clicked, the picture rescrolls to
the top. How do i
> keep
> the picture to stay where it is, so that it doesnt
appear to move after
> the
> click?
>
>
> -
Buttons don't return from down state
Hello,
When I use component buttons, the green border never goes
away. If there are thre buttons on the screen, they all appear to
have focus.
I am using MX 2004 and I have only noticed this problem since
upgrading the flash player to version 9.
Is anyone else notice this?
Any ideas on how to fix?
Thanks.3 beep code on waking from sleep.
Did a fresh install that did not fix the problem.
sudo pmset hibernatemode 25 worked for me.
Even hybernates faster now and sticks over reboots.
Late 2011 Mackbook Pro with SSD.
I'm sure we will see an update from Apple within the next week.
myazigi wrote:
ellisonjay got the answer....Many Thanks
This solved my question by ellisonjay on Jul 28, 2012 9:46 PM
I suspect now that some widgets, and apps are setting bad hibernatemodes.
source:https://discussions.apple.com/message/19066192#19066192#19066192
I used pmset -g, and it said I was in hibernatemode 5. I set this (sudo pmset -a hibernatemode 0) closed the lid, and it came back up. I set it to 3, and the same. I moved over to my widget, and set it. Checked my mode, and it was back to 5.
I used `man pmset` it said to only use mode 0, 3, and 25! No others! I again set it (sudo pmset -a hibernatemode 25) this time to 25, and it seems to work fine.
I suspect Apple made changes to their power managment, and disabled older modes. They should have set this correctly in our upgrades, instead of letting us figure it out.
ellisonjay
This solved my questionRe: Sleep wake problem
28-jul-2012 21:46 (in response to ellisonjay)
I suspect now that some widgets, and apps are setting bad hibernatemodes.
source: https://discussions.apple.com/message/19066192#19066192#19066192
I used pmset -g, and it said I was in hibernatemode 5. I set this (sudo pmset -a hibernatemode 0) closed the lid, and it came back up. I set it to 3, and the same. I moved over to my widget, and set it. Checked my mode, and it was back to 5.
I used `man pmset` it said to only use mode 0, 3, and 25! No others! I again set it (sudo pmset -a hibernatemode 25) this time to 25, and it seems to work fine.
I suspect Apple made changes to their power managment, and disabled older modes. They should have set this correctly in our upgrades, instead of letting us figure it out. -
Swap Image behaviour mis-behaving
Hi All
Not sure whats happening here, returned to FW CS5 after a few months of doing other things and I cant seem to get the swap image behaviour to function...
Well thats not quite right, it does but the wrong way round...
If I have state one green square and state two red square and I place a slice over green square on state one and add the swap image behaviour and select the corresponding slice area in state two, when I press F12 you'd expect to see the green square which would turn rd on mouse over - wrong, I get the red square and if I mouse over if flickers green.
FW is showing me whats on state two...
CS5 Win764
TonyGenius - never thought to check animated gif export bit and never realised you could have all the swap images on one state!
I guess because there are less states the page will load quicker?
Many thanks for your time and patience
Tony -
Help wih swap image. I think?
I'm trying to get images to appear in a part of the page
when I roll over the thumbnail of the image.
Here's the page:
http://www.jonathanjamesphoto.com/wedds2.htm
I did a swap image behavior. It worked!
It shows the swapped image from an image file in a slice I
made.
BUT, when I upload the site I can't get the images to swap.
Is it something to do with where the image file is stored?
Can someone help?
Thanks,
Jonathan
[email protected]jjamespix wrote:
> I'm trying to get images to appear in a part of the page
> when I roll over the thumbnail of the image.
>
> Here's the page:
> <a target=_blank class=ftalternatingbarlinklarge
> href="
http://www.jonathanjamesphoto.com/wedds2.htm
>
> I">
http://www.jonathanjamesphoto.com/wedds2.htm
>
> I</a> did a swap image behavior. It worked!
There's no swap image behavior on that page. Rather, it's an
image map.
It appears to be changing the image on click, but it is
actually opening
a new HTML page.
Linda Rathgeber [PVII] **Adobe Community Expert-Fireworks**
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
Design Aid Kits:
http://www.webdevbiz.com/pwf/index.cfm -
We're creating pages from a template in DW3. The template includes a header, footer and a navigation bar. We've made the navigation bar an editable region so that we can change the down state of the buttons on pages where it is required. However, when we make a new page from the template and try to change the behaviors of the buttons in the navigation bar it will not allow us to make those changes.
Have you considered using CSS styled text/list menus instead of image rollovers. It isn't hard really and it's actually a much better choice for web accessibility and for search engines to find and follow your links. Here are some links to several CSS menu systems you can try:
CSS Express Drop-Down Menus (tutorial)
http://www.projectseven.com/tutorials/navigation/auto_hide/
CSS Tab Designer creates 60+ CSS Styled Button and Tab Menus (download)
http://www.highdots.com/css-tab-designer/
List-O-Rama (DW Extension)
http://www.dmxzone.com/go?5618
CSS Menu Maker (On-Line Menu Generator)
http://www.cssmenumaker.com/
Pop-Menu Magic2 by PVII (DW extension purchase)
http://www.projectseven.com/products/menusystems/pmm2/index.htm
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
I want to make a navbar in my template to base all my webpages on,
but when I looked in Dreamweaver CS4 help the comments said navbars were obselete and that I should use swap image behavior.
There was a tutorial linked about how to make the button stay in down position on each page but there was nothing written about how to do this when each page will be based on the template.
I read somewhere that if i were to make the navbar in my template and set it as an editable region some of the stuff that would need to be changed to make the buttons in the down position on the pages made from the template would be outside of the editable region.Get DIVA GPS. The Free version may be all you need.
http://www.divahtml.com/products/divaGPS/current_menu_location.php
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
How to centre down state image and fix back ground to a plain colour
hi please view this website with internet explorer , windows XP. viewers see a down state image that I set but its not centred and also sits over the navigation. I had screen cover on the background image, so this does not look correct either in non html5 compliant browsers.
http://reynell.org.au/test
I would like to specify in the down state that there is just a plain colour background rather than an ill fitting image.
hoping someone from the adobe team can answer my question, or any edge user who knows!
thanksHello,
This effect can only be achieved when you use the images as a Rectangle Fill. And as you mentioned it above, you cannot add alternative text to images because it is added as a fill and not as a image.
I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
Regards,
Sachin -
How do I place an image and insert a different photo for the "mouse down" state?
I have placed an image within an accordian widget and when I select the "mouse down" area in the states dialog box, i click "fill" in the toolbar and insert the photo i want to display when the image is clicked but this image is "covered up" by the originally placed image and is not seen in my states dialog box.
I have done this before when i made rectangles and placed images in rectangles. But i soon realized that you cannot add alternative text to images in rectangles for some frustrating reason.
How do I place and image and have a different image for the mouse down state?Hello,
This effect can only be achieved when you use the images as a Rectangle Fill. And as you mentioned it above, you cannot add alternative text to images because it is added as a fill and not as a image.
I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
Regards,
Sachin -
I can't down load my images from my Nikon D4 to Apeture.
I can't down load my images from my Nikon D4 to Apeture.
Hi skhart1998,
I also use Nikon D4, D2H and D2Xs
I use Nikon Transfert 2, the latest version, to download my shots to my MacBook Pro hard disk in a picture folder. After this I use Aperture Import to place the New folder created in the Nikon folder in the Aperture Inspector folder... This way, I always have the copy of my originals files.
.jpg or .nef work fine.
Denis -
When Publishing to BC, images get swapped around from other pages
When i am Publishing my muse file to Business Catalyst, all my images get swapped around from other pages, both in slideshows and placed images, how do i get it to stop doing this! In preview mode the images are where i want them!
This is one of my pages with the slide show with the correct image
This is the image that is appearing in its place within the slide show which is from another page within my site!
I have tried to look through each page and re publish the site which is working for some pages but then makes others worse!Check out Apnewbie's page on publishing errors. See if any of the suggestions help your particular situation....
http://web.mac.com/mark8heaton/iWeb/PublishErrorsHelp -
recently downloaded cs6 and tried to download images from d600. error states need latest camera raw update. How to go about this?
You can find the direct download links here: https://helpx.adobe.com/x-productkb/multi/camera-raw-plug-in-installer.html
Benjamin -
ENTOURAGE shuts down after downloading images from e-mails
I can download images from all of my web-based e-mails, including our web-based exchange. However, when I try to download images directly from Entourage, my hard disk slows down and makes intermittent thinking sounds until it finally downloads the image and then Entourage shuts down. I've reported this to Mac 1/2 dozen times and have had no response. Has anyone had similar problems? Thanks.
From the noises you describe, I'd be far more worried about the condition of the hard drive. Back up any important personal data immediately. I think the relation to Entourage is only circumstantial. The hard drive is the real problem.
-
Go easy on me here….
Trying to import images from external hard drive into Lightroom 5 but the selected images state 'no preview for file'.
All other images on the external hard drive can be previewed and imported without issue.
I have tried adding the images onto the computers hard drive as well but still no joy.
I've used Lightroom 5 previously and had no issue so convinced its the files I'm trying to import (jpeg files).
Any help greatly appreciated.Go easy on me here….
Trying to import images from external hard drive into Lightroom 5 but the selected images state 'no preview for file'.
All other images on the external hard drive can be previewed and imported without issue.
I have tried adding the images onto the computers hard drive as well but still no joy.
I've used Lightroom 5 previously and had no issue so convinced its the files I'm trying to import (jpeg files).
Any help greatly appreciated. -
Help using swap images to swap 2 separate images
I am trying to use swap images to swap two separate images on
the same page but I can't get it to work. Here is the code for one
image, rotator. I also have a second image,rotatorB that I want to
swap different images with. I think I need two separate codes but
do not know how to do it.
Thank YouSorry, I don't know enough about how fireworks functions - but overall, I think it's always best to create the slices in a program like fireworks, (or image ready, etc), and then build the actual page in Dreamweaver (or other web software). It's kind of like how Photoshop used to let you create the slices, then export the entire photoshop file as an html page - it would create a very basic page with multiple nested tables that were nothing but trouble...
For what it's worth - Dreamweaver makes it fairly easy to do - once you're familiar it should only take a few minutes to accomplish (once you have all of the pieces saved to the images folder).
Fireworks isn't a web-creation software - it's function is to optimize images for the web, and slice up graphics (from what I know about it, anyway...)
**Also, on a side note - there are many disadvantages to creating buttons with graphics - number one reason is down the road when a client wants to add or modify the buttons, they will need the original photoshop file - and the fonts loaded in order to accomplish... then need to save out both the on and off state for each. I've been there, and they find it very annoying (known to lose customers because of it). Secondly, search engines and Handicap accessible software can't read graphics - even if you apply "alt tags", it's not as good as having a text link. If possible, it's best to use text for the links (and creating the rollover effects with stylesheets - there are tons of examples: http://search.live.com/results.aspx?q=css+rollover&form=MS8TDF&pc=MS8TDF&src=IE-SearchBox
Hope that helps
Jesse
Maybe you are looking for
-
Oracle infrastructure installation problem
hello everybody I am new to Oracle OID SSO configuration ,i want to use the concept of SSO in my project. i followed the OIM Disk1 and Disk2 for windows installer from the following link http://onlineappsdba.com/index.php/2007/12/27/install-oidsso-10
-
Join a Parent Table with 2 Child table based on a value
Dear Guru's We have a Parent Table and 2 Child table . The Parent Table has a column like seqtype with only 2 possible values C and S . If the Value is C , then the details are available in Child 1 table and if the Value is S then the Details are in
-
Updating large table using the WITH CLAUSE or PLSQL
I tried to perform an update on a table with over 15million records using the merge statement below but it's very slow. Can someone help me re-writting this statement using the WITH CLAUSE or a PLSQL statement that will make it run faster? my merge s
-
Hello community, I just ordered a new car and it comes with a bluetooth based handsfree installation based on rSAP (remote SIM access profile). I learned that rSAP is the ideal thing to eliminate the unwanted radiofrequency radiation (RFR) inside the
-
Hi, I have got question how to expand JTree. I am using netbeans IDE. I would like to save information about last visited position in tree and when I open this window again to expand it to last visited node(leaf). I have done someting like that: Stri