I'm inept

liunx

Guest
Hello, I'm a beginner to this HTML lark(hmmm dreamweaver). Anyway, I've got a couple of easy one's for you pros. How do I make a link to another website open up in a new window. Secondly, what's the code for a scroll bar?<!--content--><a href=http://www.htmlforums.com/archive/index.php/"http://www.ski-info-online.com" target="_blank">Click me</a> for the first question (it's the target="_blank" that makes sure it opens in a new window).<br />
<br />
What do you mean, for the second question?<!--content-->Hi Nessdog42,<br />
<br />
If you are on about making the scrollbars different colors, this is the code for that...Change the colours to suit your needs.<br />
<br />
<style> <br />
body{scrollbar-3d-light-color:#FF0000; <br />
scrollbar-arrow-color:#FF0000; <br />
scrollbar-Base-color:#000000; <br />
scrollbar-track-color: #000000; <br />
scrollbar-dark-shadow-color:#330000; <br />
scrollbar-face-color:#000000; <br />
scrollbar-highlight-color:#FF0000; <br />
scrollbar-shadow-color:#990000; <br />
</style> <br />
<br />
Good luck.<br />
Goody :)<!--content-->I'll explain it more in depth- for my html homework I am doing a site that is made up of 4 frames. I have information that opens up in my main frame, but there is too much writing to fit in the frame.. so I need a scroll bar (on the main frame) to read all the text. Does that make sense? Cheers mi deer.<!--content-->In the <frame> tag place the scroll="auto" attribute.<!--content-->Here's my frame script- what do I need to do??<br />
<br />
html><title>computing fundamentals</title><br />
<frameset rows="30%,80%" cols="30%,80%" border="4" scrolling="no"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"topleft.html" name="zero" scrolling="no"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"counter.html" name="one" scrolling="no"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"ness2.html" name="two" scrolling="no"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"mainframe.html" name="three" scrolling="no"><br />
</frameset><br />
</html><!--content-->Nessdog,<br />
<br />
Change the mainframe scrolling bit to :<br />
<frame src=http://www.htmlforums.com/archive/index.php/"mainframe.html" name="three" scrolling="auto"><br />
<br />
Goody :)<!--content-->Boo hoo... I tried that and it didn't work. I am sooo inept. Any ideas why it ain't working?<!--content-->Have you got your site on the net yet?<br />
<br />
If so, give me the address and i will have a look at it.<br />
<br />
Goody :)<!--content-->You seem to have both rows and cols specified in the same frameset. You may be confusing the brower from the start. Is this something like you are trying to do?<br />
<br />
<html><title>computing fundamentals</title> <br />
<frameset rows="30%,80%" border="4"><br />
<br />
<frameset cols="30%,80%" border="4"><br />
<frame src=http://www.htmlforums.com/archive/index.php/"topleft.html" name="zero" scrolling="no"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"counter.html" name="one" scrolling="no"> <br />
</frameset><br />
<br />
<frameset cols="30%,80%" border="4"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"ness2.html" name="two" scrolling="no"> <br />
<frame src=http://www.htmlforums.com/archive/index.php/"mainframe.html" name="three" scrolling="auto"> <br />
</frameset><br />
<br />
</frameset> <br />
</html><br />
<br />
I am guessing that the frame you want to scroll was the last one. That layout created two rows, each containing two columns which was a guess at your original desired layout.<br />
<br />
Good luck!<!--content-->Originally posted by nessdog42 <br />
Boo hoo... I tried that and it didn't work. I am sooo inept. Any ideas why it ain't working? <br />
<br />
hmmm....<br />
<br />
You dint get a scroll bar like how u get in this page?<br />
<br />
or <br />
<br />
are you talkin abt a scroll bar which you want inside your main frame?<!--content-->nope, it's not online yet. Nevermind. Thanks for the help anyway... I'm sure I'll figure it out eventually. I think I'm turning into a code geek, HTML isn't as boring as I thought. :o :)<!--content-->Originally posted by nessdog42 <br />
nope, it's not online yet. Nevermind. Thanks for the help anyway... I'm sure I'll figure it out eventually. I think I'm turning into a code geek, HTML isn't as boring as I thought. :o :) <br />
<br />
lol<br />
<br />
Ok then attach your html file in your post so that we can have a look at it.<!--content-->But there's alot of files... I AM INEPT hehe. The index .html code was the bit I previously C and V'd. I would have thought that would be where the scroll code would go... but then I again, my knowledge sucks.<!--content-->Originally posted by nessdog42 <br />
But there's alot of files... I AM INEPT hehe. The index .html code was the bit I previously C and V'd. I would have thought that would be where the scroll code would go... but then I again, my knowledge sucks. <br />
<br />
Just post the index.htm file.<!--content-->wooo hooo i got it working. Thanks dudes.:)<!--content-->woo hoo<!--content-->woo hoo00000 It worked !:D :D<!--content-->
 
Back
Top