PDA

View Full Version : Html Help



KinkoStinky
10-29-2003, 06:24 PM
How do you make it so when you click on a link, a popup shows?

I want to be able to configer how big the popup is and I dont want it to have the address bar or anything like it...

MediaSlayer
10-29-2003, 06:26 PM
fix me a drink and i'll tell you

KinkoStinky
10-29-2003, 06:26 PM
then open up and start sucking!

MediaSlayer
10-29-2003, 06:27 PM
gulp! :x

Amarjit
10-29-2003, 06:31 PM
<a href="" onClick="alert('')"></a>

KinkoStinky
10-29-2003, 06:32 PM
???

KinkoStinky
10-29-2003, 06:50 PM
ok, thats not exactly what I want... What I have is this


<a href = "www.kingsofnothing.tk" target = "_blank">

and what it does is open the link in another window, but I want the other window to be a certain size, and I dont want it to show the adrees bar or the scroll bar... Any help with this?

KinkoStinky
10-29-2003, 07:15 PM
***bump***

Archaos
10-29-2003, 07:20 PM
The best way to do it is by using a javscript plugin

plugin part at the top of the page


SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript&#62;
&#60;&#33;--

function MM_openBrWindow&#40;theURL,winName,features&#41; { //v2.0
&nbsp;window.open&#40;theURL,winName,features&#41;;
}
//--&#62;
&#60;/SCRIPT&#62;


code to add to the link


&#60;a href=&#34;#PageLink1&#34; border=&#34;0&#34; &nbsp;onClick=&#34;MM_openBrWindow&#40;&#39;YourPage.htm&#39;,&#39;YourPage&#39;,&#39;width=533,height=400&#39;&#41;&#34; onFocus=&#34;if&#40;this.blur&#41;this.blur&#40;&#41;&#34;&#62;LinkTextHere&#60;/a&#62;


The code is from Dreamweaver which i would suggest getting of you want to do anything with html (plenty of copies floating around :P ) takes 10 mins to get used to the layout and saves hours when your building a website

KinkoStinky
10-29-2003, 07:27 PM
sweet&#33; thats exactly what im looking for... but one problem, when I click on the link, it does create a popup, but it also opens the link in the main page... I only want that popup... :(

KinkoStinky
10-29-2003, 07:35 PM
plz help

Archaos
10-29-2003, 07:47 PM
post your code for me and ill take a look and are you using dreamweaver ????

Octopussy
10-29-2003, 07:48 PM
html is gay, i have web design class and my teacher is so retarded for making us learn html im like wtf is that you think i dont see

i mena wtf no one uses html to make a site well i mean u use it but u dont go and type <html> etc etc just make it&#33;&#33; lol for example if u wana make it bold just click the bold button on dreamweaver and type w/e u want and when ur done u can unclick it instead of typin [b] or w/e well im out to lunch later

just search for ur problem on google

Archaos
10-29-2003, 08:06 PM
Dreamweaver is good but you will find that it has problems with certain strings of code especially when you start to add php/asp into the mix, it may seem pointless learning it now but if you get more into web development most of your time is going to spent in code view.

Dont underestimate the power of the code :P