Easy A
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 Link to left of image

View previous topic View next topic Go down 
AuthorMessage
ROCKST★R
Member
Member
ROCKST★R

Posts : 9
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:25 am

I have used the cloud zoom plugin for a tiny webpage, and it works fine, but to the right of the image is small area of white space that turns to the hand, indicating it's a link, and I do not want this to happen. When you click this tiny area to the right of the photo, it leaves the page and travels directly to the photo, please help me remove this link, thanks!

Here is a link to my page:
http://p.b5z.net/i/u/10145668/h/ed105263548.html

Please, I am really stuck on this one, thanks!!
Back to top Go down
agy1995
Member
Member
agy1995

Posts : 6
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:26 am

Try giving that containing element a width. It already has either an id or a class that you can grab.

Add this bit to your CSS - #zoom1 {width: 302px;}
Back to top Go down
T41
Member
Member
avatar

Posts : 3
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:26 am

This cloud zoom feature is really awesome. Since I first read this thread this morning I've been playing around with it. I finally have it reduced down to just the zoom feature and I finally have a question about it.

Below is the code I'm playing around with. I have my CSS element "a img" sizing the original image, as well as saying where it goes on the page. I have also created a CSS element that places the zoom window in any certain place.

What if I wanted to have another image on the same page? I've been trying to break the "a img" element apart, meaning, I've been trying to initiate a new "div id" such as ".image1" and assign this to the "<a href" code, but it won't work.

In short, if I want to have more than one image, what type of divs do I need to create to use on each of the images? I hope you can understand what I mean.

Code:

<style type="text/css">

a img
  {
  border:1px solid #000000;
  position:absolute;
  margin-left:0px;
  margin-top:0px;
  width:400px;
  height:534px;
  }
.cloud-zoom-lens
  {
  border:0px solid #000000;
  background-color:#ffffff;
  }
.cloud-zoom-big
  {
  position:absolute;
  margin-left:20px;
  margin-top:0px;
  border:0px solid #cccccc;
  overflow:hidden;
  width:40%;
  height:40%;
  }
#zoom1
  {
  width:100px;
  }
</style>
</head>
<body>
        <a href="http://www.theeagleextra.com/zoomtest/hypno-fiction.jpg" class='cloud-zoom' id='zoom1'>
            <img src="http://www.theeagleextra.com/zoomtest/hypno-fiction.jpg" alt='Book Cover' /></a></div>

    <script src="http://www.theeagleextra.com/java/1.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/JavaScript" src="http://www.theeagleextra.com/java/2.js"></script>
</body>
</html>
Back to top Go down
agy1995
Member
Member
agy1995

Posts : 6
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:27 am

Look at this page - http://www.professorcloud.com/mainsite/cloud-zoom.htm ...check out the Integration Instructions.
Back to top Go down
T41
Member
Member
avatar

Posts : 3
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:27 am

Thanks for the tip!

Check out what I built today using Cloud Zoom.

This stuff is awesome.

http://www.theeagleextra.com/testfil...dzoomtest.html
Back to top Go down
agy1995
Member
Member
agy1995

Posts : 6
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:28 am

That's pretty cool. I'm trying to think what I can use that on... probably my wifes jewelry page.
Back to top Go down
T41
Member
Member
avatar

Posts : 3
Join date : 2011-07-05

Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image EmptySun Dec 11, 2011 12:29 am

agy1995 wrote:
That's pretty cool. I'm trying to think what I can use that on... probably my wifes jewelry page.

Yeah! That would be cool. I was thinking this would be great for a movie poster site, where you sell them, I mean. It would show the edge and corner quality of the prints (thumb tack holes, wrinkles, and tears). It would probably work great for books, too, to show folks what condition the jackets/covers are in.

My uncle wrote this book in 1968 -- the year I was born. He died this past summer. He was a good guy.

I'm going to show this test page to my brother-in-law. He started a wooden toy company, and this might be a good way to show site visitors the detail of his craftsmanship -- when he gets a larger website.

I really appreciate your help on this stuff
Back to top Go down
Sponsored content




Link to left of image Empty
PostSubject: Re: Link to left of image   Link to left of image Empty

Back to top Go down
 

Link to left of image

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Easy A :: Link to left of image Edit-trash Useless :: Trash-