Beth_a_edwards 2012-02-13 06:41:48
Some background: I am working on updating my webpage. I have created the files in Photoshop CS2, and then created slices and rollovers in ImageReady so that when the user mouses over a smaller icon on the left side of the screen the image changes to reveal a larger version of the icon. I then took the site in to GoLive. In GoLive I added a “table” with 1 row and 1 cell, centered and with no border and then placed a Photoshop Smart Object within the table. The original site works fine (The current site is www.barkingcatpictures.com).
Currently: I am trying to have one of the pages have multiple photos within the area that shows the larger image in my original site, and I would like users to be able to rollover the image and have a larger image appear. I have tried creating these rollovers in image ready, but due to slices being placed overtop of the slice that would reveal the image, slice order will not allow me to do this. So I have been trying to create layers in GoLive. I have read a lot of the posts and Nate’s posts have been helpful. I have looked at the link below:
Here’s a tutorial that should clarify:
I have found the area in the source code, but I wanted to be sure adding the “wrapper” command will work since my code is diferent due to using the table.
Since the table is already centered, will this change the entire page?
Sorry for the long post! If you have any other suggestions on how to proceed, please dont’ hesitate.
Thanks in advance for all of your help!
Nate_baldwin 2012-02-13 06:41:50
Just put the wrapper around your table, and make it the same width as the table. The rest of the settings should be the same. If you get it set up that way and it’s not working, post back with a link if you can. Be sure to check in the browser though – it’s not likely to look right in GoLive.
Beth_a_edwards 2012-02-13 06:41:55
Thank you so much! I have added the wrapper. The page centers, but the layers are still moving when the window is resized in any of the browswers or within GoLive. Below is a link – the images are not on the page, but the code is there.
I really appreciate your insight!
Have a great day
Murray 2012-02-13 06:41:56
That means that the layers’ code is not within the wrapper. Indeed, nothing
is within the wrapper!
Change that code to this –
Then change this –
to this –
and see what happens.
Beth_a_edwards 2012-02-13 06:41:58
Thanks so much for you help! Worked great!!!!
Have a great day.
P.S. You and Nate are awe inspiring. I have read so many of your posts. Thanks for sharing your knowledge!
Murray 2012-02-13 06:41:59
You’re welcome, Beth. There’s no difference between you an me other than
having spent a few hours learning HTML and CSS. Every question here gets
back to those basics.
And the answer is ALWAYS in the code….
Beth_a_edwards 2012-02-13 06:42:01
The links are moving with the page, and they look great – thanks again!
I have a new issue related to the links. I have created multiple links around smaller photos (these are part of a smartphotoshop which is placed within a table) that are simply placeholders so that I can use the show/hide action to reveal a layer that has a larger version of the image. Of course it works in GoLive, and it works in Firefox, but it isn’t working IE or Netscape. The odd thing is that I have 2 drop down menus that work fine in all the browsers. Any suggestions?
Murray 2012-02-13 06:42:02
It is with genuine trepidation that I say “SHOW US YOUR CODE”! Without it
we are just guessing.
Beth_a_edwards 2012-02-13 06:42:03
Complete trepidation!!! 🙂
Below is a link – there are no images, but the code is present.
P.S. At this point I have not added the wrapper to this page
Murray 2012-02-13 06:42:05
The bulk of GL-specific (and non-standard) markup on that page is a bit
daunting for me. I’m not quite sure what you are describing. But I
*believe* that this is the problem –
You have applied these links to a
do that, since different browsers will react differently to such things –
some only triggering the events when the mouse is IMMEDIATELY over the
border of the div, and some not triggering at all. This sounds suspiciously
like the symptoms you report. Mouse events should always be applied to
tags only, and then only tags that also contain an href attribute.
Is it your intention to have images within these divs (seems like it would
be)? In that case, you’d need to have markup like this –
Note how the event has been migrated from the
that wraps the tag, i.e., the contents of the div.
Or am I off the deep end here?
Beth_a_edwards 2012-02-13 06:42:12
Thanks for getting back to me! I believe you understand what I am trying to do. I have loaded the site (link below) so that you can see what i’m trying to do. When you load the page, you will see 8 images – when you mouse over each image, I am trying to have a larger image appear.
I apologize I am not very fluent with code – thus GoLive, but if i understand correctly i should NEVER use in this way because different browsers will handle the code differently, and that I should use an anchor. Should I retype the code to match what you suggested above or should I change to anchors within GoLive?
I really appreciate your patience and help!
P.S. I have only added the wrapper to one page on the site so far (places – page 1) so submenus will shift if you navigate within the site.
Murray 2012-02-13 06:42:17
What adorable shots.
This page is working fine for me both in IE7 and FF3. Where are you seeing
Just standby and let’s make sure that there is a problem to fix.
Murray 2012-02-13 06:42:20
Wait – I have looked more fully into the page’s code. Why do you want to
have that rollover effect on the center image at all? It doesn’t seem to be
useful, really. And if I am missing something, and it is, why not use
hotspots rather than that array of layers with events hanging on the
Beth_a_edwards 2012-02-13 06:42:21
I was adding the multiple layers with a rollover action in the center so that the user could mouse over each image and see a larger version of the picture. The larger picture does not replace the smaller image, but for lack of a better word, floats overtop the center image. I didn’t use hotspots for two reasons – first because I thought you could only link another page and two because i don’t have an image map. If this is the only way to do this, I can go back into ImageReady and create an image map.
The rollover effect works within FireFox, but as you explained not every browser processes s the same.
Murray 2012-02-13 06:42:22
Here’s my take – the larger image is not so much larger that you get to see
appreciably more than you see from the smaller ones. And since you only do
this for the start image when you land on that page, I think you could
easily get rid of it.
That’s not correct. You can trigger any behavior with one.
Doesn’t GL have a way to create one?