Does anyone have any suggestions for removing the browser box/border from the pop up on this page? Click the green, “People Say” quote image on top left to see pop up. Or, have another suggestion? It’s an html page in the pop up not an image.
You can delete the on-page styles from the testimonial page that are creating the brown border and it will disappear. You might consider including the body {styles} in those deletes, too.
A trick question? No…want the brown border. I’m not following you…oh, I see what you mean. No, I meant the browser window not the brown border. I’ve attached a screenshot.
I followed the link in your post using Firefox and clicked on the “People Say” image. It opened the testimonial page in a new tab.
After reading your reply, I opened the link to the home page in Opera and clicked on the “People Say” image. It opened a smaller “popup” window showing the testimonial page. THIS must be what you were expecting to happen when you posted the thread and FF did not behave as intended for me. Thus my silly remark about the “trick question”.
So it sounds like you would like for the testimonial page to open in something like a shadowbox, maybe, rather than spawning a new browser window? I’m not sure if it’s possible to spawn a new browser window without showing the “chrome” of the window.
You can’t achieve this with the built in window UI browsers supply, IE used to have this as a feature but it had some major security concerns which were the bigger issues with it. If you want something you can customize a lytebox script is what you would be looking for as you have full control over the look and how it’s displayed to the user.
Sorry to be slow responding. “shadowbox” was the wrong term; my apologies for that, too. I have never used a lightbox other than as a simple gray overlay, so I would not be comfortable recommending the more sophisticated scripts available.
There have been several discussions in the forums about lightboxes. I recommend that you search the forums for lightbox or light-box, etc., and see what you find. In the meanwhile, someone else may join this thread who has first hand experience.
I’m curious about that screen shot that you posted. It’s more like a thumbnail shot. It does not appear to have a browser window around it like the “popup” that I saw in Chrome. Is that an actual screen shot or a PhotoShop image of what you desire?
Without all lightbox-stuff you can do it yourself with a simple “css-popup” in the page itself; that cannot open a new tab or browser window.
The method is:
Paste the text of the pop-up in the appropriate place in the page structure (here: in the end of the <div id=“center”> container).
Add some css for styling in the stylesheet.
Add a small “unobtrusive” javascript just before the </body></html>.
Ready!
The “unobtrusive” of the javascript is that if javascript is disabled (or when the visitor uses a browser without javascript), the “People say” text is visible in the end of the page, before the footer. A click on the “People say” button scrolls the page to the text.
With javascript enabled, the text is invisible, and waiting for a click on the “People say” button. After a click, the pop-up is visible in the content area, and can be hidden with the well-known X button.
This is mostly Francky’s code with the addition of a gray “lightbox” overlay behind the popup. (my poor-man’s lightbox. )
I added html {overflow-y:scroll} and took away the 1px vertical padding. Don’t know if that has a downside or not.
Works in FF, Chrome, and Opera. opacity does not work in IE8, so the overlay is black.