Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Wide Format > Auto Pan

    Please see the attached example.

    The chart dictates that a wide page format be used (11x17).

    There are images positioned at right margin; They are on a PopUp layer. They have placeholders with script allowing them to be moved on the web page by the user.

    When the web page opens there are scroll bars that indicate the window needs to be panned to the right; however, user may overlook the scroll bars.

    Question:
    Is there a something that could be added to the placeholders' script to force the users screen to automatically pan to the Extents of object or group containing the placeholder OR to the margin of the PopUp or object containing the placeholder (ie., the bottom-right) ?

    The desired result would be the user clicks on a PopUp link and the view is panned automatically so the image in the PopUp can be seen.

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Wide Format > Auto Pan

    John if there is such a method:

    1. it probably woud not be implemented the same in all browsers.

    2. most users would turn it off as an annoyance just like popups led to the creation of popup blockers.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Wide Format > Auto Pan

    Hi Bill:

    This would be for an intranet and all persons in the organization have to use the same browser and brower version. Currently it is IE 7.

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Wide Format > Auto Pan

    John how about making the "page" an Excel spreadsheet so it is viewable within IE as a spreadsheet. A VBA script would put focus on the necessary cells.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Wide Format > Auto Pan

    Nope, they want something "artzie" aka Xara graphis pretty.

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Wide Format > Auto Pan

    John that does not rule out using Excel. I've seen some very "artsy" work done with Excel using the internal drawing tools and embedded graphics.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Wide Format > Auto Pan

    Not from engineers

    Seriously, the orcharts could vary significantly; thus, Xara is the ideal tool. Especially with its template capabilities and color themes.

    I realize the scrolling windows issues and usually this has been a no-no for the client. But thinking is starting to change and there is a push for a single "multi-purpose" document (web, print, PDF, and presentation) which Xara can usually do (plus it is an opportunity to get more people which I collaborate with to use Xara and appreciate its strengths).

    If I have to have a "wide" screen version and there nothing that can be done with the javascript, then I'll try to make the background design better or add something like a small animated flash arrow as a queue.

  8. #8
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Wide Format > Auto Pan

    John you may need to try creating a link to a 'tag' and have a simple javascript link to the tag when the page loads.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  9. #9
    Join Date
    Aug 2000
    Location
    Beaverton, OR
    Posts
    3,267

    Default Re: Wide Format > Auto Pan

    That's an idea.

    Now for the Javascript code

  10. #10
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Wide Format > Auto Pan

    John I will assume you know how to create an anchor tag and you have named the tag FOCUS.

    Create a placeholder and name it <head>. Use the Replace with html options and enter the code:
    Code:
     
    <script type="text/javascript" language="javascript">
     function moveWindow (){window.location.hash="FOCUS";}
    </script>
    Create another placeholder for use within the page an preferably at the top of your page. Enter the code:

    Code:
     
    <body onload="moveWindow()">
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

 

 

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
  •