Amezis
Mar 1 2005, 10:29 AM
| | What's the code I use on a link to go back to previous page? |
Reply
bjrn
Mar 1 2005, 07:08 PM
Either one of those should work: CODE <a href="#" onClick="history.back()">Back</a> <a href="#" onClick="history.go(-1)">Back</a>
Reply
Mike
Mar 2 2005, 09:33 PM
Hey uh.. bjrn, is that JavaScript? Also, what's up with that a href='#' thing? I mean, why is it '#' and not just ''? Sorry Amezis, I don't mean to take over your topic. >_>
Reply
Hamtaro
Mar 2 2005, 09:49 PM
There's another way to do that, but it's still the same thing: CODE <a href="javascript:history.back(1);">Back</a> <a href="javascript:history.go(-1);">Back</a> That one just doesn't use the # in the code. I think JavaScript is the only way to do that (Correct me if I'm wrong). If I made a mistake, please let me know, as I don't normally use this code.
Reply
Amezis
Mar 3 2005, 10:47 AM
Thanks alot! I'll try the code
Reply
alexia
Mar 5 2005, 02:55 PM
wooow is that joke Every browers has nexk nad preview page button i think its old script and its jsp script but i think you can make easy link next and back in every pages woow if you had 10000 page  its really fun you can find jsp code that automatic insert next and back pages on your page
Reply
Amezis
Mar 10 2005, 01:07 PM
I know that, lol, but some people are too dumb to click on the back button... And on my 'error'-pages (like 403,404 etc), I use a link with 'back'...
Reply
cse-icons
Mar 10 2005, 01:25 PM
It has nothing to do with JSP. It is plain java script. yeah, true that u can use the back button. but in certain cases, you need to go back on certain event on the page.. it can be used then. Also giving a link to previous and next pages is desired sometimes(previous just for good gui design) . for next you need to go back to server, but for the previous a simple javascript wud do, since it is available right there.... Cheers
Reply
Recent Queries:--
javascript:history(-1) - 60.71 hr back. (1)
-
example using history(-1) in javascript - 66.69 hr back. (1)
-
javascript: back button history-1 - 104.25 hr back. (1)
-
java script history-1 - 104.82 hr back. (2)
-
javascript history-1 - 78.96 hr back. (3)
-
jsp .history.go(-1) without link - 123.94 hr back. (1)
-
how does history.go(-1) work in jsp - 134.32 hr back. (1)
-
meta refresh history-1 - 220.93 hr back. (1)
-
java history-1 - 106.07 hr back. (2)
-
code for displaying scroll bar only when needed - 231.97 hr back. (1)
-
javascript history tell if exists back - 232.97 hr back. (1)
-
javascript:history.back(1) jsp - 261.21 hr back. (1)
Similar Topics
Keywords : forgot, code, history, 1
- An Uncrackable Code!
(2)
Create Dynamic Html/php Pages Using Simple Vb.net Code
Taking your application data, and creating a webpage for others to vie (1) This example will show you how use a string in VB to create PHP code. In order to do this, you need
a string to store your PHP page and a function that I will list at the bottom of the page for you to
put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
-------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
Davinci Code
(4) Ok, Ok, I know I am way behind on the times, the movie is allready out and gone and I just now got
around to reading the book. First off, so you know, I'm a cheap skate, and just happened to see
the book at the swap meet for a quarter, so I decided I wanted to see what all the fuss was about.
I remember a lot of controversy when the movie came out from the religous sector. And boy do I know
why now, after reading the book! Talk about a serious stab at organaized
religion!!! At any rate, it was a good story and I did enjoy reading it. Sure kep....
The Old Games
Have we forgot about the classics with all this new technology. (2) Better graphics and more pixels and 30 buttons does not mean a better game. Far from it. I think
gameplay has gone down in many games becasue the focus was on graphics or something other then. Your
thought.....
I Forgot My Log In Information
need help (5) Due to having registered to many sites lately and not logging in to my hosting account in last few
weeks, I seem to have forgotten my log in info. Is there any way to retrieve it?....
Syntax Highlighting For Code
(4) Hey all, I'm not sure if its been brought up but I couldn't find any topics on this. Has
anyone brought up the idea of updating the blocks to allow syntax highlighting? This would be a
nice feature to have but I don't know if its something that can be easily added on. I don't
know about you guys but when I see long blocks of code in the same color from users I just don't
want to read them. Especially when they are put in a small box container about 100px high and I have
to scroll through it. Making code easier to read would help a lot. Peace Sone.....
Add Flashing Inbox To Invisionfree Forum
Html code for invsiionfree!! (2) Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ....
Why Doesn't This Code Work On Computinghost?
(2) Here is the script: Rcon Connection Client IP: Port: Password Cmd:
$ip = $_POST ; if (!$ip) die(); $port = $_POST ; if
(!$port) die(); $pass = $_POST ; if (!$pass) die(); $passlen =
strlen($pass); $cmd = $_POST ; if (!$cmd) die(); $cmdlen =
strlen($cmd); $packet = 'SAMP'; $packet .= chr(strtok($ip,
'.')).chr(strtok('.')).chr(strtok('.')).chr(strtok('.'));
$packet .= ch....
External History And Favorites
how to put them on a flash drive (0) i installed FF3 (which works great) on my flash drive for testing perposes (web desighning). anyways
yesterday at school since i had time i went to the library to use it but i realise that my history
and bookmarks where not saved on the flash even though i imported (duh i know they're on my hard
drive). i'd like to know how can i put my history and favorites (or at least my favorites) on
my flash drive and how to make sure that the browser knows that and that's what it uses not the
one on the hard drive. thank you /laugh.gif" style="vertical-align:middle" ....
Create Table - Mysql Code - Help
(1) I need your feedback about setting the database issues. Please, review them and correct some entries
in the code if they got some mistakes. This is the code itself: SQL CREATE TABLE
`news` ( `id` int(250) NOT NULL auto_increment, `title` varchar(255)
NOT NULL default '', `text` text NOT NULL, `author` varchar(255) NOT
NULL default '', `valid` varchar(255) NOT NULL default '',
`date` varchar(255) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE = ....
Php Source Code Unveiled In Browser?
is that possible? (7) I am quite new to PHP and this concern came to my mind after playing around a bit with it... When
PHP is not correctly configured on the web server the source code of a php file we try to access
through a browser will be shown instead of the result of the code itself. This will normally not
happen when PHP is working properly, but I was just wondering if it could still be possible to see
that code if a user wanted to or if something on the server failed. This would for example expose
sensitive information like mysql passwords and so on... Is anything like that possib....
Best Soldier Units
Let's discuss best soldier units trough history (8) Well, since I have come to discussion about best government system and aside of that me and the
topic starter have started arguing about best soldier unit in a sense. And since we are somewhat
polluting that topic I have decided to start new topic afterwards I may add some poll so we would be
able to see which units are the best in deed. So let's hear all of yours opinions and
let's argue about it. My preferable units would be legionaries and Spartans. I will leave
explanation for some other post.....
Mozilla: Firefox Plugin Shipped With Malicious Code
(3) This piece of news only affect Vietnamese users as the Vietnam language package was infected with
malware trojan called e Xorer, and so if you downloaded this language pack in the last few weeks run
a scan and the trojan should be picked up. Although this trojan is only a couple of months old and
so I don't think everyone has something for it, but check at your vendors website and see if
they have a solution for it. As for the cause of this infected plugin, they assume the authors
computer was infected at the time when they upload this plugin to the mozilla website....
Php Code?
Mathematical Applications (12) Hello, everyone. The help is needed again. How can I make calculator in PHP language? That will act
like that a user just type in the fields known values, then click the button, and it's going to
be solved automatically. In other words, have can I write a formula in PHP, how to plug it inside
that language. For example, the formula to find a peremeter of square is: P=4a. So, a user
just can write the known value which is peremeter itself and it will find the side of a square; and
vice versa. If you can write many things how to do such formulas, such as comp....
How Do I Code A Design?
(6) Okey, so I saw another topic here regarding how to make a design. I know how to do that, so that is
no problem. But I have always had some problems on how to code a design. I am tired of that I always
need to use some sort of program, drag&drop webhost (like piczo) or use a free design I found
online. I have noticed that people need to "cut" the design in different parts, but I have never
understood what way the do it. So I do not understand anything about this, and really need some
help. I will be happy for all help I get. /smile.gif" style="vertical-align:middle"....
Html Code Tester. Online Script
(15) Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if
this works. I have not tested it yet, but I will later and post back with a demo and fix it up.
Current script: CODE <?php //Save this as something like htmltest.php function
CheckForm() { $html_unsafe=$_POST['code']; //Gives us our user
input $html_safe=str_replace("<?php"," ",$html_unsafe);
//Starts security measures $html_safe=str_replace("?>","
",$html_sa....
Runescape 2 Private Server: Code/guide 1
Creating a wilderness training zone. (11) Purpose: To make a cool training area in the wild. Difficulty: 1-3 Classes Modified:
Client.java, shop.cfg, autospawn.cfg, npchandler, item2.java, shop.cfg Assumed Knowledge:
Copy/paste, basic knowledge of cases, and how to search. Credits: 10% fedexer(global object tut),
10% to my friend for teaching me how to make monsters drop random things, 80% me for the idea, and
comming up with it. REQUIREMENTS: Make sure that your server can use herblore, mining,
woodcutting, theiving, and prayer. You must also have fedexer's global objects code. Other
Thi....
Each And Every Nokia Code For Your Mobile
(7) Nokia 3210/5110/6110 And All Most Works In Most Of The Nokia Phones. QUOTE To view IMEI number
*#06# To view Software Version enter *#0000# To view Status of Sim Clock Stop. Enter *#746025625#
Latest Version is under Phone Info Type is NSE-3NX *#92702689# offers you Serial Number and also
IMEI number. There are various options to scroll here. The code is easier to remember as *#war0anty#
(warranty) The next screen is the date of manufacture in the format Made: 1197 The next screen is
the purchase date in the format Purchasing Date: 1197 (this can be edited) The nex....
Your First Autoit
Learning To Code.. (4) Autoit is a simple, yet powerful programming language, it allowed the creation of the pangea
desktops, and the Remote Pc Control with a cell.. You can learn it too. Here is the first of several
lessons i will post inside of this topic. It is a 32 bit program, it doesnt work on windows 98, 95,
and i dont think (THINK) Windows ME Step 1: Download and install the latest version of autoit from
http://www.autoitscript.com i prefer that you use beta. Step 2: Right click somewhere on your
desktop or my documents, and mouseover new and click Autoit V3 Script Step 3 (optiona....
Rpg Code And Rpg Toolkit
oh I forgot pixeling (10) Has anyone ever heard of RPG Code or even RPG Toolkit. RPG Toolkit is an RPG Creation tool. And RPG
Code is the code that you use for programming a game using RPG Toolkit. Also does anyone know a good
site for me to learn how to draw using pixels? I really need this for Dark Times, a game that I am
creating.....
Wap Source Code Viewer
Mobile/wap source code viewer page (4) This is a source code viewer that will workl on wap/mobile sites but you can easily convert it to
work on web im sure ;-) CODE <? header("Content-Type:
text/vnd.wap.wml"); echo '<?xml version="1.0"
encoding="utf-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <head><meta
http-equiv="Cache-Control" content="no-cache"
forua="true"/></head> <card title="s60.nerds.....
Simple C File Handling In Action
Small code snipet which covers most of basic file handling and navigat (3) Yesterday I suddenly got a lot of work. The same work we try to push off, yes you are right all
formalities to get the code review incorporated and update all source code files with code review
headers. Imagine if you need to open 300 files one by one and append code review headers at the
end. Since most files are reviewed in groups of 20 to 30 files. We require one header to be placed
in say 20 to 30 files. To simplify I went back to my class assignment days and wrote this small c
utility to open all files passed on command line and open attach code review headers an....
Forgot Password To Trend Micro Internet Security
Is there a way to remove it? (6) One day I was bored so I set a password for our Web security software, Trend Micro Internet
Security. I turned on the URL filter, and now, whenever my friends send me something funny that has
no porn or anything in it, I get the Blocked error. I am really annoyed by this; I can't change
other setting in the software too. Is there any way to either reset the password or remove it,
without uninstalling Trend Micro?....
Myspace Music Player
Anyone have the code? (9) Hey, I was looking around on MySpace to see if they had a particular song with a player that you see
on many different MySpaces, but they did not have one for the song I wanted. I was wondering if
anyone had the proper code for a music player. I do have the song I want and have the capability to
upload it, but I just need the code for it. If you can help at all I'd really appreciate it.
Example on the top right of this MySpace (but I just want a one song player):
http://www.myspace.com/ofarevolution ....
Iqara Telecom
THE WORST CUSTOMER SERVICE IN HISTORY! (13) Iqara Telecoms India Private Limited THE WORST CUSTOMER SUPPORT ANY COMPANY CAN HAVE! I
have been using IQARA Internet service from the last one year at my home computer. After being a
customer of this company from such a long time, I can assure one thing to everyone reading this...
IQARA is a leading Internet service provider in Mumbai. The day when I signed up, I was told "Sir,
your Iqara internet connection would be setup within a week!", Well, this was the commitment I
got. But after a week, there was no response. Then it took them another week to f....
Html Tag For A Code Box
Where You Put HTML Code For Your Users (4) Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they
show you a code you can use for javascript and stuff like that. I would like to know the HTML code
for those boxes. Thanks in advance for your help.....
Da Vinci Code
What's it about?? (16) Well I heard in the news abut the Da Vinchi Code and stuff, whats it really about, Like I've
seen previews and yeah, codes that da vichi used or something, like the How Da Vichin Painted the
First Supper and if you trace along all the people it says Da Vichi. So I like to Know What The Book
is about???? Maybe I'll buy it and read it myself....
Redirect Code Help
(8) Can someone give me the code which redirects you automatically in the whole page instead of only in
the frame? I'm using this code, but it just redirects inside a frame... CODE <meta
HTTP-EQUIV="REFRESH" content="0; url=http://www.something.com"> But now
.tk has added a ad to the pages so I don't want to use it anymore, so I want that people
entering the site is being redirected to the "real" domain name now.......
Whats The Best Code?
www.bpsite.tk (32) Whats you fav code?....
How do you test your php code
(77) We know that php is a server side scripting language. So we will need a server with the php parser
to parse/test our code. How are you doing that. Do you upload it to a server for testing or did you
instal php and the server (apache) on your computer (localhost)....
Looking for forgot, code, history, 1
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for forgot, code, history, 1
*MORE FROM TRAP17.COM*
|
advertisement
|
|