iannet14 Posted September 6, 2014 Share Posted September 6, 2014 Hi I have a frame that load a php element, but I want to load at same time a javascript element. The code load correctly the php element in the frame but I can't figure out where to insert the javascript. The javascript is a slide in ads. Here is the code of the php element : <frame src="<?php echo getRandomInterstitualAdUrl(); ?>" noresize/> And here is the javascript code : <script type="text/javascript" src="http://exemple.com/adServe/banners?tid=L_16601_7&type=slider&position=bottom&animate=on&side=left&size=300x250" ></script> Quote Link to comment https://forums.phpfreaks.com/topic/290883-load-2-element-in-frame/ Share on other sites More sharing options...
jazzman1 Posted September 6, 2014 Share Posted September 6, 2014 How about a frameset attribute. Quote Link to comment https://forums.phpfreaks.com/topic/290883-load-2-element-in-frame/#findComment-1490104 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.