|
-
April 17th, 2010, 01:08 PM
#1
Need help with Drag and Drop script
Hello!
I'm using Walter Zorn's Drag & Drop script on my page: http://www.accentironwork.com/railings%20design.html
The script works just fine. But there is a problem when the visitors are trying to print out their design. All "draggble" elements are getting shifted in relation to the rest of the page (try to move "draggble" elements, and then go to Print Preview to see what happens).
The page layout is centered on the screen:
#maincontainer{margin: 0 auto; /*Center container on page*/}
Drag & Drop script recalculates positions of elements from the Top Left corner.
If I change margin to left, than everything prints out just fine, without shifting.
I'd like to keep my page layout centered on the screen and I know nothing about Java programming. How to make necessary changes to the Drag & Drop script to achieve proper page printing?
Drag & Drop script path:
http://www.accentironwork.com/Drag-Drop/wz_dragdrop.js
CCS path:
http://www.accentironwork.com/css/globalstyles.css
Thanks in advance!
-
April 17th, 2010, 06:22 PM
#2
Re: Need help with Drag and Drop script
This looks like javascript and not Java - try the client side scripting forum.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|