JDub Posted July 22, 2010 Share Posted July 22, 2010 Hi, I was wondering if anyone on these forums could help me with something? Basically, I want to be able to open this script: <iframe src="add_email?&EMAILHERE#footer" scrolling="no"></iframe> But I want it to open automatically on pageload, would this be possible? & Another question... Would it be possible to do this, but make it so if someone clicks, it loads the page and my email address will be at the EMAILHERE part, and would it be possible to make the email change once someone has clicked the button to another email? Any help / advice would be great. Thanks Link to comment https://forums.phpfreaks.com/topic/208545-help-please/ Share on other sites More sharing options...
timvdalen Posted July 22, 2010 Share Posted July 22, 2010 Please read the rules about your topic name. I don't get the first part. If you put that in your HTML, it'll load when the page loads. You could make EMAILHERE a variable that you assign your own email address to at first and assign a different value after the user does something. Link to comment https://forums.phpfreaks.com/topic/208545-help-please/#findComment-1089612 Share on other sites More sharing options...
JDub Posted July 22, 2010 Author Share Posted July 22, 2010 I understand nothing about PHP but my email will go in that part. I just wanted to know how it would be possible to automatically do that on site load? Link to comment https://forums.phpfreaks.com/topic/208545-help-please/#findComment-1089621 Share on other sites More sharing options...
timvdalen Posted July 23, 2010 Share Posted July 23, 2010 It is, that's default Link to comment https://forums.phpfreaks.com/topic/208545-help-please/#findComment-1090012 Share on other sites More sharing options...
JDub Posted July 23, 2010 Author Share Posted July 23, 2010 It only loads for me when I click the button, I have it in a DIV. Link to comment https://forums.phpfreaks.com/topic/208545-help-please/#findComment-1090026 Share on other sites More sharing options...
inversesoft123 Posted July 23, 2010 Share Posted July 23, 2010 put this iframe code just bellow <BODY> tag Link to comment https://forums.phpfreaks.com/topic/208545-help-please/#findComment-1090031 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.