Chrisj Posted July 19, 2013 Share Posted July 19, 2013 This code; gb_page_center creates a pop-up to show another page, as hsow in the attched image. As you can see by the horizontal scrolling blue bar (at the bottom of the pop-up (greybox)), and the vertical scrolling blue bar (on the right side of the pop-up box), the video player can be centered by using those scroll bars manually. However, I'd like just the video player to be in the center of the pop-up box, without the blue scroll bars being there at all, when the box pops-up.Presently the line of code is: <a href="videos/[blk1.vid_id;block=div]/" rel="gb_page_center[470,370]" style="float:right"><br /> How can I put the player in the box, and without the scroll bars?Any suggestions/help/remedy will be appreciated. Link to comment https://forums.phpfreaks.com/topic/280295-help-with-centering-and-scrolling-blue-bars/ Share on other sites More sharing options...
jakerow Posted August 1, 2013 Share Posted August 1, 2013 I can't tell you exactly how to do it but you can use JavaScript or jQuery to scroll down a page. Perhaps these two pages can help you:http://stackoverflow.com/questions/6147168/how-to-move-the-window-by-x-number-of-pixels-using-javascript http://stackoverflow.com/questions/1192228/scrolling-an-iframe-with-javascript Link to comment https://forums.phpfreaks.com/topic/280295-help-with-centering-and-scrolling-blue-bars/#findComment-1442997 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.