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> 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. 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
Archived
This topic is now archived and is closed to further replies.