Hi guys and girls
I got a problem here. Anyone know the HTML code that: when you open a website, a pop up will jump out and show something like images, advertisement.
Anyone know this code?
thanks.
HTML Code help.., code & guide needed
HTML Code help.., code & guide needed
|
Apr 18 2008, 08:13 PM, updated 16y ago
Show posts by this member only | Post
#1
|
Senior Member
2,991 posts Joined: Jun 2007 From: Jesselton | JB | Singapore |
Hi guys and girls
I got a problem here. Anyone know the HTML code that: when you open a website, a pop up will jump out and show something like images, advertisement. Anyone know this code? thanks. |
|
|
|
Apr 18 2008, 08:17 PM
Show posts by this member only | Post
#2
|
Senior Member
604 posts Joined: Nov 2007 From: Penang Island |
Maybe this site can help you W3schools click here
|
|
Apr 18 2008, 08:22 PM
Show posts by this member only | Post
#3
|
Junior Member
158 posts Joined: Apr 2008 From: Subang Jaya |
You can find the code here.
Here's a more specific link for you. HTML Cheatsheet This post has been edited by ShaunG: Apr 18 2008, 08:23 PM |
|
Apr 18 2008, 08:23 PM
Show posts by this member only | Post
#4
|
Senior Member
2,991 posts Joined: Jun 2007 From: Jesselton | JB | Singapore |
Thanks for info.
Can tell me the codes at here? Hard to find in those web.. |
|
Apr 18 2008, 09:14 PM
Show posts by this member only | Post
#5
|
Junior Member
64 posts Joined: Jan 2003 |
U need to click the link to open new windows
CODE <a href="http://www.yourdomain.com" target="_blank">Open New Window</a> If this is not what u want. here is another method Popup Window Generator |
|
Apr 18 2008, 09:21 PM
Show posts by this member only | Post
#6
|
Senior Member
2,991 posts Joined: Jun 2007 From: Jesselton | JB | Singapore |
I know this. You know the one auto pop out when you open the website those?
This post has been edited by Liuteva: Apr 18 2008, 09:21 PM |
|
Apr 18 2008, 11:27 PM
Show posts by this member only | Post
#7
|
Junior Member
64 posts Joined: Jan 2003 |
Try this
CODE <body OnLoad="window.open('http://www.domain.com', 'popup', 'toolbar=0, location=0, directories=0, menuBar=0, scrollbars=1, resizable=1, width=500, height=400, left=50, top=50');"> |
|
Apr 19 2008, 12:21 AM
Show posts by this member only | Post
#8
|
Senior Member
5,644 posts Joined: Feb 2008 From: Heaven to HELL |
QUOTE(contoh @ Apr 19 2008, 12:27 AM) Try this oooooooooo CODE <body OnLoad="window.open('http://www.domain.com', 'popup', 'toolbar=0, location=0, directories=0, menuBar=0, scrollbars=1, resizable=1, width=500, height=400, left=50, top=50');"> nice 1 contoh. i'm learning html, doing diploma in IT. thanks 4 da tips..... |
|
Apr 19 2008, 02:16 AM
Show posts by this member only | Post
#9
|
Elite
4,738 posts Joined: Jan 2003 |
If you're learning, then I suggest you learn properly. Learning how to do things the wrong way will become a habit, a bad one. Habits are hard to unlearn.
First, why would you want to open a window when a site loads up? What use does it give the user? The very fact that popup blockers exist, should tell you how much pop-ups are hated by users. Have you thought about that? If there's no javascript, and the content you load is important, how would the user get it? Your site should work, with or without javascript. This is one of the principles of graceful degradation. So since you're just starting and learning, google up stuff like "xhtml css design tutorials", "unobstructive javascript", "accessible website design" etc. Sites like sitepoint.com and alistapart have good articles you can use to kick start your learning. |
|
Apr 19 2008, 05:56 AM
|
Senior Member
2,991 posts Joined: Jun 2007 From: Jesselton | JB | Singapore |
Thanks for the guide bro
Thread closed, thanks for helping |
Topic ClosedOptions
|
Change to: | 0.0157sec
0.03
5 queries
GZIP Disabled
Time is now: 29th March 2024 - 06:50 AM |