Web-head question
- Started
- Last post
- 21 Responses
- Raniator
Hi all.
We want to add a link to our website, which when clicked opens in a pop-up window with no navigation bar (essentially to hide the domain name).
How does one do that?
Thanks.
- mikotondria30
One would do that in the full knowledge that for the past several years most people have browsed with their 'pop up blockers' on.
This prevents windows from spawning other little windows.- unless they set it to allow popups on clicking a linkribit
- mistermik0
or use chromeless windows pop up plugin
- Jnr_Madison0
Does FF3 let you do that anymore... I don't think so?
- mikotondria30
Or just set to visibility:visible, an iframe in a floating div, using php to scrape the page and pipe it thru with ajax.
- Raniator0
Yes, but I thought pop-up blockers only blocked pop-ups from other sites... adverts and things. Surely you can make a link open a new window?!
- yes, you can open a clicked link.Jnr_Madison
- why you would want to is another matter.Jnr_Madison
- to show a large image?ribit
- ya, I was talking about a site in a pop-up.Jnr_Madison
- FAIL0
Try this little JS
window.open('somepage.htm','some...
You can also use this:http://www.chromeless.org/
Good luck
- Raniator0
See this:
http://www.snapsurveys.com/sampl…
See the Pop-up Surveys box?
Click the 'View Pop-up Sample'.
It opens in a new window with no nav bar etc.
I want to do that.
Can't you just add something to the href tag?
- harmsie0
Also though you souldn't really be opening up new windows or pop ups in terms of accessibility with out really concidering if you really need to...
- trooper0
search google for window.open(
- uan0
will not work...
modern browsers show the domain in popups...
maybe there is a workaround somewhere in the spam/phishing boards
- Jnr_Madison0
It's a security feature showing the domain in all windows now, unless the user manually right clicks and de-selects the 'main' navigation toolbar - which I'm not sure most people even know how to do.
- you might be surprised...NONEIS
- I might but what the fuck does that prove???Jnr_Madison
- harmsie0
where is the questionnaire hosted, the url can't be that bad that you need to hide it? I personnally would worry about it esp. if the organisation doing the questionnaire is well respected it may even add legitimacy to it.
- Raniator0
the link on a page on our website will pop-up a page from our own site, which then displays the questionnaire from the other link...
- trooper0
meh use thickbox in that case - much nicer and google friendly
- flashbender0
java script in the head portion:
<script type="text/javascript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>this is how they do their link:
<a onclick="MM_openBrWindow('/samplesurveys/popup/popup.htm','popup','resizable=yes,width=422,height=450')" class="sample-thumb" href="#">View Pop-up Sample</a>clearly they just used the open Browser window behavioUr in Dreamweaver
- flashbender0
but as has been discussed here ad naseum, I would go with a div instead of a whole new window,
- harmsie0
the other option might be to build your own online survey tool and host it yourself and then you won't have an external url..
- 4hero0
greybox any good?