PDA

View Full Version : image insertion question, and jscript link question



Acerbus
February 26th, 2003, 00:06
hey all

I have a couple questions if you'll take the time to check them out

Question 1 -

I use dreamweaver MX to build my website and I am curious about inserting images

when you insert an image .. it automatically puts it in paragraph form ... like it will line it up on the page automatically according to paragraph or text alignment ... is there any way to move the image around freely and place it anywhere i want? ive done it with frontpage but cant figure it out with dreamweaver

if not .. does anyone know how to do that in just plain HTML?


Question 2 -

alright say i have a frames page with 3 columns

Anyone have some code that will allow it so when someone clicks on a link in one column ... it opens up two pages in the other 2 seperate frames?





thanks in advance everyone!!

P.S. - One more thing .... whats the deal with only being able to have 1 space between charachters/sentences/anywhere in a webpage? is there anyways to be able to put like 5 spaces in between words? And why is it that with dreamweaver MX when you hit enter to go to the next line .. it skips a line? i cant find the setting anywhere to change that

kabatak
February 26th, 2003, 04:10
1. The basic way to insert an image is <img src="image.jpg">
2. You place a name in your frame say <frame name="theframe"> and target the link to that frame like <a href="theframe">click here</a>



PS. The code for space is &nbsp; like &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for 5 spaces.
If you want a single line, use <br> for a line break.

Acerbus
February 26th, 2003, 11:24
hey ... thanks for the input kabatak .. i figured out how to put the image where i want using spacing and breaks ... thanks a lot!

but on the link question ... my question was if anyone had code that when you click on one link in one of the frame columns ... two different pages open in the two other two frame columns

thanks for the answer about spacing and breaking though i appreciate it!

kabatak
February 26th, 2003, 12:16
<A HREF="javascript:void(0)" ONCLICK="window.open('http://yahoo.com', 'the1stpage'); window.open('http://google.com', 'the2ndpage');">click here</a>

where the1stpage is 1 frame target and the2ndpage is another frame target.

Edit: Pls take note that java script should be one word javascript, I dont know why the board added space in between.

Acerbus
February 26th, 2003, 12:29
ahhh .. thanks a lot!!

ill go try it now