Link to home
Start Free TrialLog in
Avatar of Loganathan Natarajan
Loganathan NatarajanFlag for India

asked on

How do I implement pop-up ads or pop-under ads?

I have already tried the pop-ups as "New Window" whenever the homepage/or specific page opens (body tag-

onload), but Is there anything new idea in pop-up ads, pop-under ads...

so, how do I implement pop-up / pop-under ads. Also, How do I implement the below code as ads in my site,

<!-- BEGIN STANDARD TAG - popup or popunder - ROS: Run-of-site - DO NOT MODIFY -->
<SCRIPT TYPE="text/javascript" SRC=" http://test.com/st?

ad_type=pop&ad_size=0x0&section=244242&banned_pop_types=38&pop_times=1
&pop_frequency=82312"></SCRIP

T>
<!-- END TAG -->

Any suggestion would be greatly appreciated.
SOLUTION
Avatar of Joe Wu
Joe Wu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Loganathan Natarajan

ASKER

i think using javascript the ads could be processed... i want to know how do i pop-up or pop-under the above Ad in my php web page?

i want to display or pop-up the above Ad's? how do i proceed?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can easily modify the above page's code (provided by TheHound) to fire with body'd onload tag:

<head>
<script type="text/javascript">
<!--
function myPopup() {
window.open( "http://www.google.com/" )
}
//-->
</script>
</head>
<body onLoad"myPopup();">
<form>
<input type="button" onClick="myPopup()" value="POP!">
</form>
<p>Testing Paragraph</p>
</body>
TheHound::

i have looked the page, it is just pop-up windows that makes to pop-up when you visit any page

 I need the the pop-up & pop-under Ads .. how it is processed like parsed or called upon dynamically whenever you add Ads into it.,
if input is given something like

<!-- BEGIN STANDARD TAG - popup or popunder - ROS: Run-of-site - DO NOT MODIFY -->
<SCRIPT TYPE="text/javascript" SRC=" http://test.com/st?

ad_type=pop&ad_size=0x0&section=244242&banned_pop_types=38&pop_times=1
&pop_frequency=82312"></SCRIP

T>
<!-- END TAG -->

how can i do that pop-up for this javascript code???
Avatar of TheHound
TheHound

I'd assume that you would put that code between the <head></head> tags. Otherwise, I'm not sure what you're asking.
i think i am not taking this in right direction... normally, how the Ads are implemented ?... Is it like just opening it in new windows (as many ads) using window.open() method? ...

how can i open the pop-under Ads as background of the main page?
The majority of pop up/under ads use javascript. There are many methods, one of the main ones is the window.open() method. Here is another site that may help:

http://www.netevolution.co.uk/scripts.asp?ID=46

Sorry, if I am getting at the wrong thing here.