|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How would i use frames so that my old page (eg. http://www.geocities.com/sitename/page.html) looks like (www.site.com) in the browser?
Edit: Can you show me the code that I could use? |
|
#2
|
||||
|
||||
|
Quote:
Hey, Bud. Depends on how you want to do it. You can use Iframes and do it like this Code:
<iframe src="http://www.geocities.com/sitename/page.html" width="640" height="480" name="window" border="1"></iframe> or you can do it with PHP and simply include that page. PHP Code:
Either will suit you just fine; whichever you feel is better. Regards, Jonathan Sampson |
|
#3
|
|||
|
|||
|
Thx, but i meant like when you go to http://www.geocities.com/sitename/page.html it changes the url that it says in the browser to sitename.com...
|
|
#4
|
||||
|
||||
|
You can't do that unless you go and by the sitename.com and find hosting.
And please don't title threads like "HEEEEEEEllllppppppppp" in the future. |
|
#5
|
||||
|
||||
|
PHP Code:
I think thats how you do it. Make sure there's nothing, NOTHING, not even whitespace (a space, tab, carriage return, etc) before thhe "<?php". If that doesn't work, try this: Code:
<script type="text/javascript">
replace("http://www.yoursite.com")
</script>
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > HEEEEEEEllllppppppppp (frames) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|