Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Cool centre popup photo

    hi sorry if this duplicates an earlier thread but I am sure there was a tweak to get popups open from the centre of the page can somebody point me in the right direction please - I am using WD6 - Thanks again

  2. #2

    Default Re: centre popup photo

    Create an object, right-click and choose 'Names'
    Name it <head>

    In the placeholder properties, "Replace with HTML code", insert;

    <script type="text/javascript">hs.align = "center";</script>

    You may place this object on the pasteboard if you wish. It still gets written to the head section on export.

  3. #3
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: centre popup photo

    hi thanks for the reply but what i want centering is a photo when a thumbnail is clicked and i am sure there was a tweak that you just dragged onto the page - thanks again

  4. #4

    Default Re: centre popup photo

    The tweak you speak of was made my myself using the above instructions and posted some months ago here.
    But it's very simple if you follow my directions above.

    The result is the popup photos are centred. Please try it.

  5. #5
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: centre popup photo

    thats it superb - thank you works brill now - keep up the good work

  6. #6
    Join Date
    Jan 2010
    Location
    Bradford, England
    Posts
    1,827

    Default Re: centre popup photo

    sledger the man!!!!

    Just searched for this, found it, implemented it and what a result. I will be posting up a website using this soon, just look out for a 'fishy' thread.

    thanks again

    Kash

  7. #7

    Default Re: centre popup photo

    Quote Originally Posted by sledger View Post
    Create an object, right-click and choose 'Names'
    Name it <head>

    In the placeholder properties, "Replace with HTML code", insert;

    <script type="text/javascript">hs.align = "center";</script>

    You may place this object on the pasteboard if you wish. It still gets written to the head section on export.

    I have been using it alot, too....but there are pages where the centered popup covers something you don't want (like my example) and simply want the popup appear a little bit to the right (from the centre of the page). Is there a chance to modify the writings inside the placeholder to achieve this result? Thank you.

  8. #8
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: centre popup photo

    You could use a layer as pop-up for that :-)
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

 

 

Tags for this Thread

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
  •