PDA

View Full Version : Coding Help...


muschino
03-09-2006, 07:24 PM
Hi everyone,

For the past month i have been trying to create something like this:

http://images.google.co.uk/imgres?imgurl=http://www.natalieportman.com/images/temp/sealzy%2520np-%2520innocent%2520beauty.jpg&imgrefurl=http://www.natalieportman.com/npcom.php%3Fpage_number%3D61&h=600&w=800&sz=134&hl=en&start=3&tbnid=toVjFZR45j-k1M:&tbnh=106&tbnw=142&prev=/images%3Fq%3Dbeauty%26svnum%3D10%26hl%3Den%26lr%3D

See the bar on top of the page...I need to make something like this when a user clciks on an image button.

Is this allot of work to do? What i have tryied doing so far did not work at all...

And anyway, i just want it to display a logo and the remove frame link, thats all.

Can anyone tell me how to do this please?

Thank you in advance!

aluminumpork
03-09-2006, 07:40 PM
Well, it's just a basic frame.

Try pasting this into Notepad and saving as html.


<html>

<head>
<title>Frames!</title>
</head>

<frameset rows="25%,75%">
<frame src="http://google.com" />
<frame src="http://yahoo.com" />
</frameset>

</html>


That'll give you the same layout as the Google Image thing.
Just replace the src in each frame with the pages that you actually want.
And as for the Remove Frame link. Simply make a link to the main content page like:


<a href="http://yahoo.com" target="_top">Remove Frame</a>


and put that in the top nav page.

Hope I helped.

Kravvitz
03-09-2006, 08:00 PM
Whay are frames so evil? (http://www.html-faq.com/htmlframes/?framesareevil)
Why Frames Are Bad (http://karlcore.com/articles/article.php?id=2)
http://apptools.com/rants/framesevil.php
http://www.456bereastreet.com/archive/200411/who_framed_the_web_frames_and_usability/
Why Frames Suck (Most of the Time)(1996) (http://www.useit.com/alertbox/9612.html)
What's wrong with frames? (http://www.htmlhelp.com/design/frames/whatswrong.html)
http://www.tamingthebeast.net/articles/framesnoframes.htm
Frames - The Problems And Solutions: Explanations as to why you probably shouldn't use frames, along with alternatives that you can use instead. (http://www.dorward.me.uk/www/frames/)

muschino
03-10-2006, 11:52 AM
I see where you are going Kravvitz,

But i simply want to do what google does. I just want to display the top frame to remind visitors where they came from (it will only appear when visitors click to go to an external website, such as multimap.com)

Would it not remind visitors where they came from, so that they can go back and continue looking through the website, than go to for example multimap.com, which will make them forget that they ever were on my site?

muschino
03-11-2006, 11:08 AM
Hey, thanks for the code. One more thing though...

How do i make it so that when someone clicks on the "go to homepage link", this opens in a new window, displays the header which i want, and in the second frame, displays the page...