Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

 HTML Code help.., code & guide needed

views
     
TSLiuteva
post Apr 18 2008, 08:13 PM, updated 16y ago

Empty.
*******
Senior Member
2,991 posts

Joined: Jun 2007
From: Jesselton | JB | Singapore


Hi guys and girls smile.gif

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? smile.gif

thanks.
muhdhafiz
post Apr 18 2008, 08:17 PM

السلام شركات المؤسسة (PG0229187-X)
****
Senior Member
604 posts

Joined: Nov 2007
From: Penang Island




Maybe this site can help you W3schools click here
ShaunG
post Apr 18 2008, 08:22 PM

Getting Started
**
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
TSLiuteva
post Apr 18 2008, 08:23 PM

Empty.
*******
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.. sweat.gif
contoh
post Apr 18 2008, 09:14 PM

Getting Started
**
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
TSLiuteva
post Apr 18 2008, 09:21 PM

Empty.
*******
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
contoh
post Apr 18 2008, 11:27 PM

Getting Started
**
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');">

tech3910
post Apr 19 2008, 12:21 AM

Anonymous
*******
Senior Member
5,644 posts

Joined: Feb 2008
From: Heaven to HELL


QUOTE(contoh @ Apr 19 2008, 12:27 AM)
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');">

*
oooooooooo rclxms.gif

nice 1 contoh.

i'm learning html, doing diploma in IT.

thanks 4 da tips..... laugh.gif
silverhawk
post Apr 19 2008, 02:16 AM

I'm Positively Lustrous
Group Icon
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.
TSLiuteva
post Apr 19 2008, 05:56 AM

Empty.
*******
Senior Member
2,991 posts

Joined: Jun 2007
From: Jesselton | JB | Singapore


Thanks for the guide bro smile.gif

Thread closed, thanks for helping thumbup.gif

Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0157sec    0.03    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 06:50 AM