MagicToolBox forum
May 17, 2012, 01:22:40 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Magic Toolbox forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: I'm having trouble positioning my zoom box  (Read 1290 times)
dweinin
Newbie
*
Posts: 3


View Profile
« on: June 22, 2010, 01:00:47 am »

Hi Everyone.

I just downloaded MagicZoom and I'm digging it a lot.  Total rookie at this.

I am a designer by trade and fumble my way through code.  I'm trying to move my zoom box down and to the right.  I know I need a custom setting to do this but every time I try I totally screw it up.  Everything else I've gotten to run pretty smooth.

HEre is my code that is working great.  It's sets the zoom off to the right a nice amount.  Now I need to move it down.

<a href="../../Graphics/Product/EV106A.jpg" class="MagicZoom" rel="zoom-distance:40"><img src="../../Graphics/Product/EV106Small.jpg" /></a></div>

I know I need this bit of code

<a href="../../Graphics/Product/EV106A.jpg" class="MagicZoom" id="EVIsland" rel="zoom-position: custom><img src="../../Graphics/Product/EV106Small.jpg"/></a>

So I replaced the first round of code with the above code and directly underneath that I have

<div id="EVIsland-big"></div>

So it looks something like this

<a href="../../Graphics/Product/EV106A.jpg" class="MagicZoom" id="EVIsland" rel="zoom-position: custom><img src="../../Graphics/Product/EV106Small.jpg"/></a>
<div id="EVIsland-big"></div>

This throws everything out of wack.  What am I doing wrong.

Any Help is greatly appreciated.

Thanks.
-Drew
Logged
dweinin
Newbie
*
Posts: 3


View Profile
« Reply #1 on: June 22, 2010, 01:11:02 am »

Here is a link to the current page and the magic zoom in action.  Nothing fancy but it's very close to working just like I want it to work.  I just cannot get that zoom box to move down.

Again any help is appreciated. Thanks in advance.

-Drew

http://www.evisland.com/Pages/ProductsPages/Products105.html
Logged
igga
MagicToolBox Team
Sr. Member
*****
Posts: 331



View Profile WWW
« Reply #2 on: June 22, 2010, 03:18:48 am »

Hi,

If you want to move zoomed image down you can use custom position with absolutely positioned DIV.

Simpler solution is to use following CSS rule:

.MagicZoomBigImageCont { margin: 50px 0 0 0; }
Logged

MagicToolbox.com Support Team
dweinin
Newbie
*
Posts: 3


View Profile
« Reply #3 on: June 24, 2010, 03:46:03 pm »

Hi Igga.

Thanks for the reply.

Where do I put the   .MagicZoomBigImageCont { margin: 50px 0 0 0; }

In my body or header?

I am not good with code.  I can fumble my way through it though if you can tell me how to implement it.

I appreciate any help!

Thanks.

Logged
Alex
MagicToolBox Team
Hero Member
*****
Posts: 633



View Profile WWW
« Reply #4 on: June 28, 2010, 03:54:03 pm »

Hi dweinin,

You need:

1. Open magiczoom.css file.

2. Find these lines:

Code:
    /* Style of zoomed window */
    .MagicZoomBigImageCont {
    border: 1px solid #999;
    }

3. Add a line "margin: 50px 0 0 0;"  inside the braces like so:

Code:
    /* Style of zoomed window */
    .MagicZoomBigImageCont {
    border: 1px solid #999;
    margin: 50px 0 0 0;
    }

That's it!

Best wishes,

Alex
Logged
Pages: [1]
  Print  
 
Jump to:  

MagicZoom™ | Magic Zoom Plus™ | Magic Scroll™ | Magic 360™ | Magic Slideshow™ | Magic Touch™ | Magic Thumb™ | Magic Magnify Plus™
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC