name that SCRIPT

islandtechengineers

Senior member
Feb 3, 2004
331
0
0
hello... I cant find it.

what the script does:

(example)
when you visit a website such as:

www.anandtech.com

and then you click on the forums link, your web browser may state :

forums.anandtech.com or www.anandtech.com/forums

Im looking for the script that will allow your browser to always state (in the address bar)

www.anandtech.com

even though the users are browsering through the site.

I hope that wasnt confusing.

can anyone help identify a name and or a location where i can acquire or learn to write that code/script?

thankz for the help!
 

islandtechengineers

Senior member
Feb 3, 2004
331
0
0
congratz to me I figured it out! It took about an hour to learn how to manipulate the code and i cant believe some sites actually charge for this feature. all you have to do is learn how to write, use and manipulate the code. here is it :::::

I've found out by researching i could use frames within a web browser to trick it into keeping the same www address and title throughout all of my links. now keep in mind i bet there are laws out there (privacy related) that are against the hiding of addresses in relation to user have the right to know excatly what web site they're visitng... blah blah. while researching, i ran into a lot of write ups and privacy acts/ laws and a bunch of crap in relation to this. search and discover!

ON MY SERVER/SITE, I dont want users seeing something like::

http://www.itechengineers.com/images/diagram/link1/ghdsfkjhskjhreughsdf/sdfhdhhfsjhfdskjdhfkhdgfg/dsgkjhfdgkjdhfgdfgd/index?_ifhhdf.cgi

it gets out of hand and the more pages i have, the more that shows up. think.... online shoping cart scripts.
I will respect everyone and all laws, writes ups privacy acts ... blah blah blah in relation to blah blah . my suggestion which is what i am going to do is: anything on my site will be using this and info in realtion to this will be stated within my policy. If i have links on my site to an outside source/server toward someone else (anything not belonging to me) === such as microsoft.com or anandtech.com, I will have that link open in a new window. that way the user will enjoy the benifits of seeing the address/title of where they are going and blah blah = you get the point.

now im going to post the code with a quick description after i have lunch.
 

islandtechengineers

Senior member
Feb 3, 2004
331
0
0
in your index.htm / index.html file ====

<html>
<head>
<title>whatever title of your site here</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<frameset cols="125,*" frameborder="NO" border="0" framespacing="0">
<frame src="index2.htm" name="leftFrame" scrolling="NO" noresize>
<frame src="index3.htm" name="mainFrame">
</frameset>
<noframes><body>

</body></noframes>
</html>


[ at the title area, this is what will show up throughtout all of the web pages, even if you name all the other pages seperate titles. this index/main on site visit html file is like the master. of course i would suggest you place all your other special coding... like disabling right clicks... whatever.
[ within the frame src= index2.htm or whatever you name it is practically the main site you add the rest of your coding. if normally your site had frames, you would frame up THAT coding in this file.
[ the index3 whatever you name it is blank= why you ask? it just is! when using frames, a lot of html software doesnt like to place a single frame box on a page. a lot of them require a minimum of 2. what happens in this coding is::::: the 1st frame src is at 100% of the displayable web page to the user. which over writes / takes over the 2nd frame that a lot of things require and is to the front. even though the dead 2nd page file is there, leave it, dont touch.
If you had a weird taste like me and have your desktop background set to a web page, then you can get crazy and 50 / 50 the 1st and 2nd frame with no scroll bars. write up some wierd coding and go nuts with your own start menu , prog launching options features... i think you have an idea of what im saying here.
###############################


the MAIN page/ in relation to index2.htm in the frame src . coding is

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
your web site coding hered
sdjklhsdlkjhdg
sdfkjghsdkjgfhsfg
sdjghsdfkjghsg
skjdgskjdfgklsjfghs
skdjgfhskljfghlskjfgs
</body>
</html>


[ and of course if you wanted your site with frames and other crap you code it in here. if you reframe, of course you know you'll have more html files and it can get confusing if you dont label them the right way.
[ i'd suggest to leave the remainder of the titles in all your other web pages blank.
###############################



and the 3rd file in relation to index3.htm / or whatever you name it is :



<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

</body>
</html>


[ like i said leave it blank unless you want to get courgaeous and inventful.

##############################
 

islandtechengineers

Senior member
Feb 3, 2004
331
0
0
oh i almost forgot to say: of course all 3 files are in the same directory = you dont have to though.

I'm not taking ownership over this code and im not the inventor. I just researched and found out i could use frames to do this, then i started to learn how to hand write frame code and i came across the way i suggested above = it works!

it took me only about an hour to figure this out but countless hours trying to find pre-written code and or tutorials on how to do it (which i never found and normally im good at finding things over the internet)! so here i am posting this for everyone to see, use and enjoy.

have fun with it!

hey i could be wrong, but this worked for me, so if you have a hard time getting this to work, let me klnow and i'll help out!
 

WannaFly

Platinum Member
Jan 14, 2003
2,811
1
0
Originally posted by: islandtechengineers
Originally posted by: WannaFly
frames are bad...mkay?

hey, can you explain why they are bad. I have a friend here who saays they are bad because he doesnt like em and hates scrolling ==== ?

1) Because they take away the ability to bookmark a page.
2) It makes it harder for search endings to index it
3) The taget attribute of all links must be set properly.
4) It screws up printing
5) They promote scrolling