How to go back one url, action?

In Golive this was easy, you just created a "go last page" action.
I have tried for some time now to figure the method in dreamweaver cs4 with no luck, as well I also tried cutting and pasting the code from GO-Live into dreamweaver.
any direction will be appreciated.
Thx
Brad

Hey Brad. Here is a easy way of what you are trying to do with css and cleans up all the heavy html that only slows things down. Any time you can use css to you advantage then use it and any time you don't need all the html mock up then clean it. Let me walk you through what I did for you...very easy.
First this is the code you started with:
<a><a onclick="history.back();return false;"href="/pages/previous.html"><imgsrc="../../../images/beds/tables_spa/diego.gif" class="elitephoto"/></a>
Replace it with this:
<a onclick="history.back();return false;" href="/pages/previous.html" class="elitephoto"></a>
As you can see it is already almost half the html as the original, but it holds all the code you will need as the rest of the magic happens in the css. You already had a class attached to the <a> of "elitephoto" so we will use this in our css to target this <a> tag.
Here is the css you simply add to your css:
a.elitephoto{
    display:block;
    width:50px; /*adjust to the size of your image*/
    height:50px;
    background: url(path to image.png) no-repeat center center; /*adjust the position of the image as needed*/
a:hover.elitephoto{
    background: url(path to swap out image.png) no-repeat center center ; /* this will be the image you are swaping out the original with*/
The first rule of a.elitephoto makes the <a> tag a block level element, defines the size and then calls for the background image. You simply took the image src out if the html (which you should do when ever possible) and calling it from the css.
The next rule of a:hover.elitephoto simply calls for the swap over image and will swap out on mouse over.
Simple...fast and much more efficient then all the embedded html !
One last note... you could use a single image for both the original and the swap out image. You simply change the position of the image in the positioning of the same image in the css to expose the portion that you want. This is the desired technique as for your css will make a single call for a image and already have it cached and ready to swap out (or in the case...slide into position)   when a user hovers over the original image. Might sound a little tricky, but really simple to do. Try the above way first then fine tune later when you get a hang of it.
Sitewide Solutions
David

Similar Messages

  • How to go back one page to an open application (from Safari)?

    For example, if I have one of my applications open and I follow the link to open the products page, it launches Safari accordingly. However, when I have finished looking at that page, how do I close down Safari and go back to the last screen I was looking at in the application I had open?
    Can I do this without having to press the home button taking me back to the Home screen, re-opening the app I was using and finding the bit I was looking at before?

    no, that is the only way to do it.

  • How to play back one channel of the stereo track in both headphone cans?

    I recorded two microphones in one stereo track. Is there some way I could listen to the left channel and then to the right channel in both cans in my headphones, like a mono track? Panning moves all sound to the left can or the right one in my headphones. But I'd like to listed Left channel as mono channel in both headphone cans, and then press some button and listen to the right channel in both cans. How can I do it?

    No problem. By the way, there is a wrinkle in Logic that you may not be aware of.
    When dealing with a stereo track, the knob in the channel strip that you may think of as a Pan knob is not. It's a Balance knob. What is does is to change the level of what's in either left or right channel but does NOT move the left signal to the right or vice versa.
    To prove this:
    * Create a project with two mono audio tracks
    * Put different files on each track
    * Pan one hard left, the other hard right
    * Bounce the result
    * Create a new project with a stereo audio track
    * Import the audio that you exported above
    * Use the Balance Knob to bring either up or down
    * Note you cannot move one signal from its original position
    If you want to pan a stereo signal, you have to use the insert: Imaging > Direction Mixer. Only then can you position a stereo signal in your stereo field. This is documented in the user manual in the section called: "Setting the Pan, Balance, or Surround Position".
    Have fun!
    Pete

  • How to go back one version?

    I don't want to use version 23. How can I revert to 22? Windows Vista
    And why isn't there a FAQ for this? I tried various questions and got nothing useful.

    That is close to what I asked, but it did not show up in my several questions. The page is 95% "don't do it" and is oriented towards installing an older version, not reverting a simple upgrade. I will look at it later to see if it looks reasonable (I suspect it requires handstands if not carwheels...). So thanks anyway for a plausible lead.
    "Since I answered your question, will you answer the questions about why you feel it's necessary to downgrade? "
    I am not aware of any quid pro quo, and I have separately submitted feedback about some of the lousy new features in 23. Forcing users to go to About Config is a really awful way to separate the idiots who need a babysitter from users who take responsibility for their browsing needs.
    re Mr "downer" -- "old versions of Firefox leaves you at horrible security risks" If 22 was so horrible, shame on whoever released it in the first place. I mean really!
    re WFF: "We could easily fix it" I have to call b*llsh*t. Last time I reported a new bug was 2008 or 2009 when I first started using Firefox. It got reported by others in bugzilla under various threads for YEARS before something happened at the user end despite followups and plenty of what looked like developer chit chat. So "you" have zero credibility. Read your feedback, please. I can't seem to find my submission under dozens or more new feedbacks and my History doesn't seem to have a unique entry for my feedback form/page. I had to submit new feedback just to find the "feedback dashboard" just now despite trying a couple of searches (without recalling 'dashboard' or 'input' terms being involved).
    In this case "you" have chosen to dumb down 23. It's annoying.

  • How to map from one URL to another URL with webcache

    Hi Im trying to map http://www.myserver.com to http://www.myoriginserver.com/app/Servlet1
    I have tried
    Origin server = http://www.myoriginserver.com/app/Servlet1
    But as soon I put anything after .com the webcache server will not start up again.
    so Origin server = http://www.myoriginserver.com works.
    I have also tried to set it up as a proxy but same error.
    Is there any other way of doing this?
    I am using
    Oracle Application Server Web Cache 10g (10.1.2)
    Build 10.1.2.2.0 060920

    http://oamidam.wordpress.com/category/oracle-web-cache/

  • How to use one URL for several Oracle AS?

    Hi folks,
    how do I use one URL to access several application servers (i.e. for different applications).
    Example:
    We have one URL:
    www.test.com
    In our DMZ, wie have three application servers and one web cache:
    test1.intranet.com:7777
    test2.intranet.com:7777
    test3.intranet.com:7777
    webcache.intranet.com:8000
    One application server is no problem. In Web Cache, i just map site www.test.com:443 to AS test1.intranet.com:7777.
    But what is the correct setting, to access all three Oracle AS over one URL? I tried URL PATH Prefix. Then i am able to access all three Oracle AS, but the application server does not know the Path.
    Example for mapping:
    www.test.com:443/server2 -> test2.intranet.com:7777
    When I access www.test.com:443/server2, I get redirected to the correct AS (test2.intranet.com:7777), but the Oracle AS does not know the path /server2.
    How do I have to configure the Oracle AS?
    Thanks in advance and best regards.

    I setted up a proxy and at first glance,
    it works fine. The problem are internal links. Some links redirect to the
    machine name, which is of course not accessible from outside our dmz.
    My httpd.conf entries:
    ProxyPass /test1infra/ http://test1.intranet.com:7777/
    ProxyPassReverse /test1infra/ http://test1.intranet.com:7777/
    ProxyPass /test1mid/ http://test1.intranet.com:7778/
    ProxyPassReverse /test1mid/ http://test1.intranet.com:7778/
    When I now access (for example) www.test.com/test1infra/pls/orasso I get
    redirected to www.test.com/pls/orasso, which is another Oracle AS!
    How can I prevent my OracleAS doing this? It has to "know" that all its internal urls need a url path prefix.

  • How to use a back button in action pages?

    Hi all,
    I have created a user login page,home page and user profile page.
    If the user provide correct username and password in the login page he will be taken to home page.
    In the home page he will be having his username and a link to view his profile.
    When the user click on the link "My Profile(user profile)" he wil be taken to that page.
    In my profile page the user can edit only his firstname,lastname and password .
    On the user profile page i have placed a Back Button(using javascript: on onclick event i have used history.back()) to go back to home page after editing his profile.
    If the user edit his profile for n-number of times then atlast if he wants to go back to home page-then he wil cilck the back button.
    Now the problem occurs like the back button not going to home page and it simply going back with the edited history.
    How to use a back button in action pages; without repeating the actions done on the page; how to redirect to the users home page?
    I simply used the hyperlink in userprofile page to go to home page but when i click onit it is displaying blank home page.
    I'm using hibernate orm mapping; cflogin and cflogout tags.
    Any help appreciated,
    Chandru P

    chandrup wrote:
    Hi Dan,
    Dan Bracuk wrote:
    Use an anchor tag.
    I simply used the hyperlink(<a href="home.cfm">Home</a>) in userprofile page to go to home page but when i click onit it is displaying blank home page.
    I can see your problem. You may use javascript:history.go(-1), javascript:history.go(-2), ..., to go back one page, two pages, and so on. But how does one go back an arbitrary n pages? The link href="home.cfm" isn't a good solution for the browser. It makes a new call to the server which, as you may have discovered, can overwrite all the changes made at the browser. 
    You should use the Javascript variable history.length. If you open n links in succession, starting from page0.cfm, then the browser holds the value of history.length as n. So, experiment with something like
    <a href="javascript:history.go(-history.length)">Go home</a>
    or
    <a href="javascript:history.go(-history.length+1)">Go home</a>

  • How can i run VisualScript of one URL against another URL

    hi folks,
    could anybody tell me how can we run the visual script of one url against another url ?
    eg: visual script recorded for http://www.abcd.com/index.html must be run against http://www.abcd.com/index1.html
    thanks in advance,
    pasumarthi

    pasumarthi,
    You can right click the address node select properties on page one and change the url there. Since the tool is DOM based all following urls will automatically update when you play the script back. You can also use the script updater utility (in the etest icon group) if you have 8.20.
    Hope this helps.

  • How to retrieve elements from 3 different xml file in one url

    Hi all,
    Could anyone please let me how can we retrieve elements from 3 different xml file in one url?
    i just can only do it with one file only, any help would very appreciate.
    Thank in advance
    Jim

    Hi Philip
    Thanks for replying me.
    I tried on that way, In my mdx query i am using one slice attribute (i.e [Customer].[Gender].allmembers) in rows so getting error "The  Hierarchy already appears in Axis1".
    SELECT
    {[Measures].[Internet Sales Amount] } ON 0,
    NON EMPTY
    {[Customer].[Gender].allmembers } ON 1 -- Used
    FROM
    [Adventure Works]
    WHERE
    [Customer].[Gender].&[M]
    ,[Product].[Size Range].[(All)]
    ,[Customer].[Country].[All Customers]
    [Customer].[Gender].[All Customers]
    ,[Product].[Size Range].&[XL]
    ,[Customer].[Country].[All Customers]
    [Customer].[Gender].[All Customers]
    ,[Product].[Size Range].[(All)]
    ,[Customer].[Country].&[Australia]
    Can you provide alternate ways to get resolved.
    Thanks in advance

  • How to get data back from an action ?

    Hello,
    Would it be possible to get data back from an action (out of the question EO_MESSAGE & ET_FAILED_KEY )?
    For example we got an order with order positions and we need a "function" to e.g. count all positions. Because of Performance the function should not be processed each time the order is changed, read or a position is added. Instead the function should be processed only if it was called explicitly.
    Is it possible to create a kind of action which is actually counting all entries and export the number of them?
    How to mark a parameter in is_parameters as exporting?
    Is this just done by (naming-) convention?
    What is the preferred way to have “methods” with returning/exporting values?
    Regards,
    Lorenz

    Hello Lorenz,
    As you have already figured out , the Action API provides you with only the messages and failed keys if any.
    Post action execution , you can always execute a retrieve or retrive by association , to get the latest buffer snapshot , which of course would include the changes that you have made in your action.
    If you want to ensure that users have explict control on execution of your "fucntion", then of course , you should model it as an action on the BO.
    The parameter is_parameters is an IMPORTING parameter. You CANNOT use it to export anything back from the action. For importing ,  you can of course have any structure to use as the is_paramaters , which you model as the action parameter structure which modelling your BO action.
    From an external entity the only way to interact with a BO is by consuming the BO services and you are bound by the BOBF standard interfaces. Any and all data you require needs to be modelled as node attributes ( persistent or transient ) and fetched using the RETRIEVE, RETRIEVE_BY_ASSOCIATION or QUERY services.
    Regards,
    Indranil.

  • If I open another URL from my homepage, the "go back one page" button is grayed out so I can't get back to my home page.

    This problem only started recently.
    Opening another web page (URL) from my homepage always opens in the same tab and the "go back one page" button is gray and does not work. If I open a series of web pages in the same tab the green "back" button is green. Clicking on the "recent pages" down arrow will allow me to go back, but only to the page after the home page.
    In other words, after browsing, I can get back to the opening page (my home page) only by clicking on the house icon but not by using the "recent pages" function.
    Is there an option that changed after the last update?

    Do you see any tab history if you right click the Back or Forward button?
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • My iphone got stolen, and now i have a new one. I would like to know how to get back all my apps on my new iphone as it doesn't seem to be possible from itunes ... Thank you

    Good evening !
    Oh sorry I didn't get it was just a title ...
    So, as i said, my iphone got stolen like a month ago, and i purchased a new one.
    I downloaded other apps in this new iphone and i think i did an error by syncing it with itunes as it seems that it doesn't have all the other apps i downloaded on the other iphone.
    So I would like to know how to get back all my apps ?
    Thank you very much
    PS : it is the same account that I use.

    actually I found the solution :
    http://www.igeneration.fr/itunes/astuce-votre-historique-d-achats-itunes-12056
    it's in french, but the images and google translate will be enough
    hope that helps for the others having the same kinda problem

  • Lightroom - how to restore backed up files (not Lightroom catalogue) from one external drive to another?

    How to restore backed up files (not lightroom catalogue) from one external drive to another.
    I recently backuped my photo files from one external drive to another. The backup (carbon copy cloner) pointed to some corrupt files on the original drive.
    I have deleted those files and am finding good copies of them  in Time Machine backups.
    I want to get rid of the original external drive; use the recent backup as my main external and then back it up onto a brand new drive.
    What I am not sure about is how to point lightroom to the backups so it knows to look on the new drive instead of the old drive and all those exclamation marks and question marks go away.
    There are close to 60,000 images in numerous folders all with one 'parent folder.'
    My best guess is from Lightroom Help - Create and Manage Folders -  Locate Missing Folders
    Can I point to the one parent folder and all the subfolders will come back?
    Is this the process to recover files into lightroom and will there be a problem with so many photos?

    http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm

Maybe you are looking for