![]() |
Rollover image popup |
Post Reply ![]() |
Author | |
GreggS ![]() Groupie ![]() Joined: 06-February-2012 Location: New Jersey Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() Posted: 14-November-2012 at 6:40pm |
http://www.1st-line.com/machines/comm_mod/esprmach/vibiemme/juniorhx.html***this page has been redirected to our new site
I have a couple pages like this that I want to build into PC where you rollover a link and a picture pops up. With the new site I have less space to work with so I was thinking to have it popup in a window and disappear when you rollout. I found this page and wanted to put in something like this. http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/ I copied the css part into pcHeaderFooter11.css at the bottom. I copied the html part into a test page I made. Will something like this not work in PC? Edited by GreggS - 01-May-2013 at 3:28pm |
|
![]() |
|
Guests ![]() Guest ![]() |
![]() ![]() ![]() ![]() ![]() |
Hi Gregg,
This is pure CSS and has nothing to do with PC per se. All it does is shove the images way off to the left by default, and then moves them back into the view port on hover. All you need to do is get more specific (keeping in mind the "Cascading" nature of CSS) with how you're calling the CSS for this.
|
|
![]() |
|
GreggS ![]() Groupie ![]() Joined: 06-February-2012 Location: New Jersey Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() |
I go this to work finally. Here is an example.
http://www.1st-line.com/store/pc/viewPrd.asp?idproduct=3560 I am running into another issue with the HTML editor. Here is the code for the 1st link. <a class="thumbnail" href="#thumb">Mirror-polished stainless steel body panel.<span><img alt="" src="../pc/catalog/vibiemme/djhxmavain/mirror-body.jpg" height="300" width="300"></span></a> The problem I run into is when I have to edit the page again. If I use the HTML Editor and save, it removes the <span>'s around the image. <a class="thumbnail" href="#thumb">Mirror-polished stainless steel body panel.<img alt="" src="../pc/catalog/vibiemme/djhxmavain/mirror-body.jpg" height="300" width="300"></a> The HTML Editor also does things like replacing the <b>'s with <span style="font-weight: bold;"> I'm guessing it cleans up the code. Is there something I can do so the HTML Editor doesn't do this? |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |