Vigilant Psyche Posted May 9, 2008 Share Posted May 9, 2008 Hey there, folks. My site is becoming a little cluttered, and instead of normal text I would like to use a little popup to show this in the bottom right hand corner of the screen: "Welcome, ".$name."." What would be the best way to do this, I dont want a large header box like that of which javascript alert boxes give you. Flash, maybe? How should I approach this? Thanks, everyone. Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/ Share on other sites More sharing options...
MattDunbar Posted May 9, 2008 Share Posted May 9, 2008 Simply code the template to have a floating box in CSS and HTML OR use Javascript to show a fancy little box. No PHP will be used so I'm going to recommends this gets recreated in the the HTML/CSS/JavaScript Forums then closed or deleted here. Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536875 Share on other sites More sharing options...
p2grace Posted May 9, 2008 Share Posted May 9, 2008 AKA: Moved (no need to recreate and delete) The only way it would be related to php is if the content displayed was dynamic, which it sounds like it might be... in which case it would involve php. Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536879 Share on other sites More sharing options...
Vigilant Psyche Posted May 9, 2008 Author Share Posted May 9, 2008 OK sorry if I upset you guys, I figured since I wan't variables from php to be available from php then it would sorta be php. Anyways thanks for the css idea; I didn't know CSS was capable of that, What sort of variables would I set to make the box appear at the bottom right of the screen, not the page. (Ie it would move as you scroll)? Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536884 Share on other sites More sharing options...
MattDunbar Posted May 9, 2008 Share Posted May 9, 2008 Look into CSS, Position:Float Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536887 Share on other sites More sharing options...
p2grace Posted May 9, 2008 Share Posted May 9, 2008 No problem, I think it's ok to have it here since you are using php variables. You'd use the CSS position: fixed; to keep it at the same page. I wouldn't recommend using position: float Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536893 Share on other sites More sharing options...
Vigilant Psyche Posted May 9, 2008 Author Share Posted May 9, 2008 OK thanks, I've got it working! Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536903 Share on other sites More sharing options...
Orionsbelter Posted May 9, 2008 Share Posted May 9, 2008 can we see the coding? Link to comment https://forums.phpfreaks.com/topic/104900-small-popup-not-sure-which-language-to-use/#findComment-536970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.