SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Change position of elements

    Hi,

    Is it possible to move text elements over page and save their position?

    Picture in attachment shows one part of my page. This page could be printed without background image (paper in printer looks like background image). I want to move text elements over page so text elements, after printing, could fit any document similar to background image.

    Thanks.
    Attached Images Attached Images

  2. #2
    SitePoint Addict Zarin Denatrose's Avatar
    Join Date
    Jan 2009
    Location
    Surrey BC, Canada
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're going to have to be clearer with your question.

    Is there a reason you're wanting to use Javascript as opposed to a print media CSS file?

  3. #3
    SitePoint Member
    Join Date
    May 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If picture on printing paper is changed (data fields remain the same), printing wont be good because text will be printed over margins. So, my client want ability to move text fields on HTML page and to fit them to new picture on paper.

  4. #4
    SitePoint Member
    Join Date
    May 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I will implement http://jqueryui.com/demos/draggable/#default . This looks like good solution for my problem.

  5. #5
    SitePoint Addict Zarin Denatrose's Avatar
    Join Date
    Jan 2009
    Location
    Surrey BC, Canada
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah. Yes, I understand now.
    jQueryUI should definitely take care of your problem, and making the elements resizable would help add to your pages flexibiliy.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •