New page to stay in same position as the page user is leaving

Hi,
I don't know if this is the right place to ask. I'm guessing it's a javascript issue but any forum I find hasn't had a question answered in weeks.
I'm looking for a script that tells the new page to stay in the same position as the page the user just left. Example....If the user is in the footer section and clicks a link, the new page opens up in the footer section of the new page.
I figured I'd be able to find something to achieve this but no luck so far. Any assistance would be fantastic.
Thanks

To offer an example of style sheet switching par excellence, visit CSS Zen Garden.  Each page contains exactly the same HTML markup but radically different cascading style sheets (CSS).
http://www.csszengarden.com/
Then Google Style Sheet Switcher.js
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • How can I return to the same position in the calling order details form

    I am Calling a form for creating a new item from order details form, so after creating The new item I want to returned the item code to the calling form to same position in The order details form , how can I return to the same position in the order details form
    Waiting for your valuable answer .
    Best regards
    Jamil Alshaibani

    Dear Friends
    My actual problem description as the following
    I have a form for production order screen , and this form contain header and details blocks , so the user in the details will select Type Code , and he will go the next field that is Item Code Field search for specific Item Code if it is not exist he has to call the Item Definition Form by using this script
    CALL_FORM(ITEM_DEFINITION);
    Then when he finished defining the Item , and I assign the item code as the following in the :
    WHEN-BUTTON-PRESSED TRIGGER
    :GLOBAL.ITEM_CODE_VAR := :ITEM_CODE;
    DO_KEY('exit_form');
    But I don't know where to keep this assignment
    :ITEM_CODE := :GLOBAL.ITEM_CODE_VAR;
    inside the caller form in which trigger do I have to use when it return from the caller form it should assign the :GLOBAL.ITEM_CODE_VAR to the :ITEM_CODE and the cursor it should show inside the ITEM_CODE , and as I mention it does not return to the same location of The ITEM_CODE when it return from the calling form
    Waiting for your valuable answer .
    With example please .
    Best Regards
    Jamil Alshaibani

  • How to make the new Array start at the same position as the previous and randomise only the newObjec

    So i am currently trying to make 5 boxes/ships (3Blue and 2 Green)appear  in a random position(1st-Gree,2nd- Blue,3rd-blue,4th-Green,5th-Green or in some other random way) i the upper corner of the stage.Make them move down.Then make a new 5 boxes and position them in the same starting position as the previous 5 and make only them get randomised (not with the previous 5,what it is doing at the moment).And do this while they are moving down.  so the code so far i have is this :
    import flash.events.Event;
    var shipCount:Number;
    var shipCount2:Number;
    var shipArray:Array = new Array();
    var shipArrayPosition:Array = new Array();
    var counter:int = 0
    var positionsX:Array = ["50","100","150","200","250",]
    addEventListener(Event.ENTER_FRAME, everyFrame)
    function everyFrame(ev:Event):void{
              counter++
              if(counter % 70 == 0){
                             doShips()
              positionShips()
              trace(shipArray.length )
    function doShips() {
              shipCount = 3;
              shipCount2 = 2;
              var gap = 10;
              for (var i:int = 0; i < shipCount; i++) {
                        var s = new Ship;
                        shipArray.push(s);
                        //s.x = s.width/2 + (s.width* i) + gap*i
                        //addChild(s)
                        //shipArrayPosition.push(s);
              for (var j:int = 0; j < shipCount2; j++) {
                        s = new Ship2;
                        shipArray.push(s);
              var array:Array=new Array();
              while (shipArray.length>0) {
                        var index:uint = Math.floor(Math.random() * shipArray.length);
                        array.push(shipArray[index]);
                        shipArray.splice(index,1);
              shipArray = array;
              //shipsArray has been randomized
              for (var k:int = shipArray.length - 1; k >= 0; k--) {
                        shipArray[k].x = positionsX[k]
                        addChild(shipArray[k])
    function positionShips() {
              for (var i:int = shipArray.length - 1; i >= 0; i--) {
                        shipArray[i].moveDown() //what the code in the Ship and Ship2 class does -> only: this.y += 3
    and how to make them stay at one position.Not to move in any X position when the new 5 are added

    This one is more efficient yet because it removes ships that moved out of view:
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.events.Event;
    var numShips:int = 5;
    var shipCount:int = 3;
    var shipArray:Vector.<Sprite> = new Vector.<Sprite>();
    var counter:int = 0
    var positionsX:Array = [];
    init();
    function init():void
              // populate positions
              for (var i:int = numShips - 1; i >= 0; i--)
                        positionsX.push(50 * i);
              addEventListener(Event.ENTER_FRAME, everyFrame);
    function everyFrame(e:Event):void
              counter++
              if (counter % 70 == 0)
                        doShips();
              positionShips();
              trace(shipArray.length);
    function doShips():void
              var gap = 10;
              var s:MovieClip;
              var shipsLine:Sprite = new Sprite();
              shipsLine.cacheAsBitmap = true;
              addChild(shipsLine);
              shipArray.push(shipsLine);
              shuffle(positionsX);
              for (var i:int = numShips - 1; i >= 0; i--)
                        s = i < shipCount ? new Ship() : new Ship2();
                        s.x = positionsX[i] + gap;
                        shipsLine.addChild(s);
              shipsLine.y = -shipsLine.height;
    function shuffle(a:Array):void
              for (var i:int = a.length - 1; i >= 0; i--)
                        var r:int = Math.floor(Math.random() * (i + 1));
                        var t:Object = a[r];
                        a[r] = a[i];
                        a[i] = t;
    function positionShips():void
              for each (var shipLine:Sprite in shipArray)
                        shipLine.y += 3;
                        // remove line that moved out of stage
                        if (shipLine.y > stage.stageHeight + shipLine.height)
                                  removeChild(shipLine);
                                  shipArray.splice(shipArray.indexOf(shipLine), 1);

  • When I change the position of the bookmarks button it always jumps to the same position (in the bookmarks bar). How can I make it stay where I want it to?

    When I try to change to position of the symbol for the bookmarks it doesn't matter where I put it, always when I click on "Finish" the button jumps back in the middle of the bookmarks bar, right of the bookmarks and left of two addons (FoxyTunes and Forecastfox).

    Sorry, that specific Bookmarks button ''(with the drop-marker down arrow or '''bookmarks''' word)'' is tied to the Bookmarks Toolbar when it is shown, and only appears when the Menu bar is hidden and the Firefox button is showing. It is not a "regular" toolbar button.
    There is the original Bookmarks button, in the Customize Palette, which toggles the Bookmarks Sidebar view. It will stay where you put it on the Toolbars.

  • How to make desktop items stay in same position?

    I notice that on reboot and at other times, the icons on my desktop move around. Mostly it's the disk drives - I'd like them to stay in one place on the desktop, in particular the internal disk and a few external drives to be in a vertical column on the right edge of the screen. I found some solutions for OS9 and Tiger (save/restore desktop state). But oddly none are for Panther. Does anyone know a trick in 10.3 to make things stay where I put them?!?
    Mike

    Click on the Desktop then select Show View Options from the Finder's View menu. Check the box labeled "Snap to Grid". If you prefer Desktop items be arranged alphabetically you can also select Name from the Arrange By drop down menu.

  • What Can Be Done To Have My Logo in Fox and IE Have Sam Position on the Page?

    Hi,
    My logo and index page in FireFor and  Explore Look Offset.
    What can I do to have the logo and text around the logo look CENTERED?   Is it Possible?
    www.collegebargain.com
    cheers,
    Dreamweaver101.1

    First validate code and fix errors.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.collegebargain.com%2F
    The main problem is a missing document type declaration (DTD) on top.
    To fix this in DW, go to Modify > Page Properties > Title/encoding  Choose a DTD that fits your coding skills.  If you're intent on using tables for layouts, then I recommend HTML 4.0 Transitional.  Hit Apply.  Repeat with other pages.
    Nancy O.

  • Setting up columns to remain in same position when the window is opened

    Does anyone know how to save column preferences after they are customized in Mac Mail, Itunes, or any file or folder in OS 10.4? I called Apple care and they didn't know. For example, when I set up my incoming e-mail columns spacing in that window, when I quit mail and then reopen the columns settings are not the way I set them up. I've noticed that this happens in any of the columns after I go to view columns in the menu bar, set up my and customize preferences of what I want to show up and the width of each column, yet there seems to be no way to retain the settings. I have tried quitting the program, closing the file or window, restarting the computer etc, but when I return the same old default column settings appear, or appear differently than I left them. Anybody know how to 'save' column preference settings so they stay the way I left them when I closed the window, or if this is a poor software design in OS 10.4????

    Making folders stick to columns and keeping the width & height is easy.
    Hold down your option key when you adjust them.
    With one exception and that's your Hard Drive (at least for me it is).
    My Hard Drive will retain its width & height but not the column width.
    Tom

  • When on a website and want to go to new website, just want the new website to appear in same space as the previous website. not a new tab and not a new window

    ok, right now if I want to go to a new website from previous I can only get one of two options, either have it appear as a new tab or a new floating window, I want the browser to simply replace the existing webpage with the new one and if I want to go back to previous website I click the back arrow.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • How to keep the SAME position of layout on left & right pages when adding a page?

    A little background first before I ask the question:
    I've been converting a PowerPoint document to the InDesign format, and adding pages as I go through by duplicating a page in order to keep the top description text in the same position at the top left hand side. The document is over 110 pages- more pages will be added soon, and some pages deleted. Basically the presentation will be printed as a book, and the client we are designing this presentation for sent us the master pages for the layout.
    The issue I'm now having: I had to delete an odd number of pages which caused a shift of the layout of pages throughout the document after the pages I deleted. I figured that the right hand page was not aligned the same as the right hand page, so I measured in the same distance from the left edge on both pages and made the adjustments. But then when I added a page, the alignment shifted again.
    Is this an issue with the master pages? Or is this another issue? Any idea how to fix this so that the pages are aligned the same whether I add or delete a page? I've included two screen grabs to better illustrate what is happening:
    I would be very grateful for any help you may be able to offer on this, thank you in advance.
    Vera

    Those are your margin guides, and your client evidently expects the margins to be larger on the outside of the page than at the spine. Putting the text frame that says Main Building... on the master page will not only save you having to enter it each time, but will let you put it where it should be and have it stay there when pages switch sides. Your images are going to seem to shift, too, unless they are centered on the page on the horizontal axis.
    I'm sensing you really have little or no experience using ID, and some basic training would probably help you quite a bit. I'll recommend Sandee Cohen's Visual Quickstart Guide to InDesign -- best book out there for beginners.

  • Can I set the position of the new mail window?

    Each time I compose a new message, the new message window seems to appear at a different place, usually obscuring the main window. I would like to have it always appear to the side of the main window. Can I set this, perhaps in the property list?

    Perhaps something is corrupt that is causing bad behavior for some users and so my comments are unhelpful, but here's some more data to add to this discussion: My Mail.app behaves as George Coghill described above, subsequent message windows open where the previous window was open.
    For example- Close all Mail.app windows so that only the main "Message Viewer" window is open (basically, don't have any emails that you're in the middle of drafting open).  Open a new message, adjust the position as you wish, then close it.  When you open another new message, does it have the same position as the one you just adjusted?  It should.
    However, for me, sometimes it would be off by a few pixels as Thomas A Reed described above.  I realized that this was because I had another compose window open in the background.  So as you troubleshoot, make sure no other compose windows are open, to remove one complication and help isolate the issue.
    Side note: in cases where the original window's height fully extended across the display, the new window would be shifted over to the right only, but not down at all as some apps do (like Mac Word, annoyingly).  Another note: if you maximize the original window, subsequent windows also open maximized and unshifted.
    A corollary to the paragraph immediately above is that if you open say 3 new windows, the second one will be shifted and the third one will be even more shifted.  Let's say you send all 3, and now open a new window, it has the position of the 3rd window.  Annoying.  Yes, it would be nice if it always opened new windows in the exact same position, but Apple likely won't do this since people will get confused and think they lost the window if it doesn't do the shifting.  I guess the take-away is draft one message at a time or maximize your composition windows, otherwise it's going to move :/
    A band-aid solution: When a window isn't positioned how you like it, a quick/simple way to reposition it is with apps like Moom (my favorite), Cinch, Divvy, SizeUp, etc.  While I'm at it I should mention RightZoom, which makes the green zoom button behave like the Windows maximize button, and Cordless Dog Stay, which is great if you connect/disconnect your laptop to a screen causing the window positions to always get disturbed between displays.

  • How to paste text box into the same position

    when I used
    adobe acrobat 6.0, I can paste the text box in the same position in the next page, it is very useful for editing files with similiar information. after I use acrobat 9.0, I found that I can not paste the text box in the same position in the next page. do you know whether the 9.0 can realize the function of "paste in the same position"?

    I am using adobe acrobat 9.0, when I use object select tool " the arrow pointing 11 clock", I can not find Duplicate command. Mr./Ms. try67, can you realize the function of paste in the same position? very thanks for your reply and help.

  • Update personnel area for the same position

    Hi,
    I have to update the personnel area for the same position. The personnel area has been updated in OM side.
    What should be done to get the same value in Infotype 1 ?
    I tried using lsmw . But, personnel area field is greyed out and Iam not able to change it .
    Thanks in advance.

    Hi,
       Please check if this [link|PA30(URGENT); is useful.
    Regards,
    Srini.

  • Restrict table position in the template

    I have a table located in the middle of 2 sections of data (1 on the top and another at bottom)
    Is there a way to restrict table in a particular position in the template? I mean, no matter what the data is above it, the table should always be in the same position in the template.
    Any help would be highly appreciated...
    Thanks..

    his question has been answered already multiple times - please search the forum before posting a question - in case you did and you didn't find it - we added a feature
    in 5.6.2 to solve this problem - It is described in the user guide in the RTF template section search for start@last-page:
    Last Page Support
    XML Publisher now has the ability to show content only on the last page. This is useful for documents such as checks, invoices or purchase orders where you want want content such as the check or a summary in a specific place only on the last page.
    The basic command is:
    <?start@last-page:body?>
    <?end body?>
    http://forums.oracle.com/forums/search.jspa?threadID=&q=%40last-page&objID=f245&dateRange=last90days&userID=&numResults=15&rankBy=9
    Any content above or below these two tags will only appear on the last page of the document.
    Hope that helps,
    Klaus

  • Using the same itunes account for two users on the same macbook pro

    Hi all.  I purchased a macbook pro in september (which I have absolutely adore), but because my semester was so jam packed with work, I wasn't able to take it in for my data transfer until the Christmas season.  Everything was transferred correctly, but for some reason the transfer leaves me with two different users on the same macbook.  I don't really have any problem with this, except I want to access the music from the "old user" with the new user that I have been using since I purchased the macbook.  Is there any way that I can move my music from one user to another?  Bear in mind that I only have one itunes account, and almost all of this music was purchased legally through itunes (I had some old cd's that I transferred back when I first bought the original macbook back in 07).  Thank you!

    I'm assuming that you want to get both your purchased music AND your ripped CD's back into the New iTunes Library.  If you use iCloud to re-download all your purchased music, TV, apps and books you wont get your CD's or movies back; and you'll use up a lot of internet bandwidth and time to re-download everything.  So, I'm going to give you a way to get the music and everything else off the hard drive into your new iTunes Library.
    But, I need some clarification here.  I'm assuming that you recently used Migration Assistant to move your old Mac's user account to the new Mac, so when you turn on the new Mac you have a choice to log in as either the "Old_User" or the "New_User", or something like that.  And both user acounts are using the same iTunes music store Apple ID, right?
    And, I'm assuming that you have both accounts set up with your iCloud or MobileMe information, so they have the same info in the contacts, calandars, bookmarks, and notes.  If you didn't use iCloud to load this info to the new user, then importing your old contacts, calendars, bookmarks and such will require an extra few steps, and is a different process entirely (composed of exporting the data from each of those apps while logged in as the Old User, and then importing them while logged in as the New User). 
    I'm assuming that the main differences in the two accounts will be that your old documents, old downloads, old email, old iPhoto and old iTunes library are not merged with the new ones, right? Apples Migration Assistant would have merged the Mac Apps folder and copied over all the Shared Users documents if it was done right. I'm also assuming that you kept your old iTunes Library in your Old User account and not in the Shared Users folder, right?
    If that's the case, first decide which account will become the primary account that you you will use all the time from this point forward.  You may want to choose the account that has the most recent work that you have done with the computer over the past semester since it's set up the way you like it, or the account that has the largest amount of data and history that you don't want to move.  The next step will be done by first logging into whichever account you wont be using in the future (except to access old info that can't be moved).
    If you are happy with how it's working now and just want to move your old documents, photos, and music over to the new account, then it seems to me that it would help things if you first log in as your "Old User" name" and move (or copy) your old documents, downloads, iPhoto Library, and iTunes library to the Shared Users folder. 
    I would basically move everything important in the Old User's home folder to the Shared Users folder, keeping the files in the proper subfolders like "Music" "iTunes" "Pictures" "Movies" "Documents" "Downloads" etc...  However, if your New iTunes Library or New iPhoto Library and such are already in the Shared User's folder, make sure you don't replace them with the old ones, by renaming the old ones first (maybe add the word "old" to the name.
    Mind you, when you have moved everything, and you log out of the Old User acount, and then log in as the New User, you will usually have to enter any administrator's User name and password whenever you want to make changes to those old documents while logged in as the New User.  Before going forward you should first change the User Permissions of those files to let the New User "own" them, so it will stop asking you for a name and password every time you want to access them in the future. 
    EVERYTHING from this point forward assumes that you are now logged in as the New User, and you should not ever need to log in as the Old User, except to access your old email archives or old Keychain Access to find stored passwords (which I think are stored in the Old User's "Library" folder which is invisible and inaccessable in Lion).  I don't know how to merge old saved emails or keychain passwords into the new account (mobile me can sync the keychains or mail rules/accounts, but iCloud can't, and mobile me doesn't sync the actual emails that were downloaded since 2007).
    First, to change the "Sharing & Permissions" to the New User just select "Get Info" for any old document or enclosing folder that need their permissions changed to the New User, click on the little lock icon at the bottom right of the Get Info Window, authenticate with any Administrator's Name and Password, and click okay.  If it shows your New User name as "Read Only" change that to "Read and Write".  If your New User name is not in the list, click the "+" icon on the bottom left and select the New User name, and set it for Read and Write.  Sometimes you have to do this "+" user step more than once to get it to stick. 
    Then, after your New User name shows it's set for "Read & Write", with your New User name still selected, click on the little "cog-wheel" icon next to the +/- buttons, and choose "Apply to Enclosed Items".  The computer could take a long while to finish changing the permissions if there are a lot of files in the folder you changed, so be patient.  When it's done you should "own" all the files in that old folder as the new user.  You are now ready to proceed with importing the old music into the New iTunes library.
    First launch iTunes (still as the New User), and go to File > Preferences > Advanced.  Make sure iTunes is set to "keep itunes media folder organized" and "copy filkes to itunes media folder".  Click okay.  It may open a small window showing that things are being moved and organized, with a progress bar, and then it's done.  It wont do that if you are already organized and copied. 
    At this point, you could simply locate your old iTunes music folder in the Finder and drag the Finder folder onto the open iTunes app window and let go of the trackpad button when the cursor changes to a green "+" sign, and it will import and copy everything into the new iTunes Library.  When it's done you can delete the old Music folder in the Finder (not in iTunes).  However, you may not have enough hard drive space to make the copies, and it will be much slower than if you move the files in the finder before you import them.  You may still have duplicates of your ripped music that you added to the new iTunes Library, and can delete those from within iTunes.
    My step to get the old music to show up in the New iTunes Library by moving them instead of copying them will be done in a particular way, that will avoid having the entire old music folder left behind to take up space on your hard drive, and it will make the import process significantly faster.  You are basically going to use the Finder to move the old music folder into the New iTunes Media folder, but you need to do it in such a ways as to not overwrite the new stuff.
    So, before you move your old iTunes Music folder into the new iTunes media folder, rename the old Music folder with the word "old" in it, then move that folder into your current iTunes Media folder.  Move it, don't copy it.  If the Mac forces you to copy it, once it's done you can delete the old music's original folder, after you confirm it's all there in the copied folder.  This sometimes happens when you move files from Shared Users that you haven't changed the ownership properly before the move.  Now when you drag the old music folder onto the iTunes App window, since the files are already in the iTunes Media Folder it will not copy the files but will simply move them around and organize them inside the new iTunes Music folder.
    You can repeat these steps with the old Movies, TV shows, Apps and Books, or whatever you want to move to the new iTunes Music Library.
    I don't know how to "merge" the old iPhoto Library with the new one, but when you click on iPhoto in the dock while holding down the option key while you click, it will let you choose which iPhoto Library to open.  From a dialog box you can choose the old one, which you copied to the Shared Users folder earlier.  It's possible that a similar technique of dragging the old iPhoto library older on top of the iPhoto App window would import things, but you'd need to research that first.
    I wish I had more time to proof-read this answer, but I have to go to a meeting, but can check back later for questions.

  • Question about playlist content moving to different positions on the LCD Monitor

    Hello Experts,
    I'm trying to find out if there is a way to have the content move to different positions on the LCD Monitor.  The presentation we have always has the contenrt in the same position on the screen.  Other than creating multiple playlist and scheduliung them to play at different times I'm not sure how this can be done.  But if anyone knows how this can be accomplshed please let me know.
    Thank you ,
    Ben
    ISC Inc.

    Ah! Found it.

Maybe you are looking for

  • Need suggestion for a effective web application

    Hi all, I need ur valuable suggestions as how to create a web application effectively. So far I have been doing design,business logic and database operation in JSP itself. I dont want to continue with this. As a beginner i dont want to jump into stru

  • 3D using Flash Player 10

    Hi All, I want to render the RSS feeds on a page using 3D effects. How can I use Flash Player 10 for that? I want to render feeds exactly following way : This is very far feed This feeds is a bit far. This is the nearest feed. This is not too far. Th

  • My wifi, not working, I try everthing and I can't conect to internet

    MY IPAD WIFI IS NO CONECT TO INTERNET, I TRY EVETHING, BUT NOT CONECT. IS WORKING YESTERDAY, BUT IN THE NIGHT IS NOT WORKING.  MY COMPUTER AND MY IPHONE IS WORKING GOOD, ONLY IS MY IPAD. THANKS, naelsag.

  • Process Steps to schedule the job in background

    What are the process Steps to schedule the job in background? Sai.

  • View photos in tile and cascade?

    My copy of Elements 9 does not give me the option to view photos in either tile or cascade mode. Those options are always greyed out. I even reloaded the program but that didn't help. Anyone else have this problem?