Redirection to facebook page - php

Well, my website can not redirect to
https://www.facebook.com/QuaFootSpa
from
http://quafootspa.com/
I have tried redirection to facebook page through
a tag href attribute and also javascript function. but it redirects to middle page. kindly browse http://quafootspa.com/ and click on facebook icon on the top so it will redirect to middle page that says Go To Facebook.com
Clicking on the (Go to Facebook.com) will direct to https://www.facebook.com/QuaFootSpa

Try target='_top' in the href.
So it becomes
<a target='_top' href="https://www.facebook.com/QuaFootSpa/">
Right now the link is being opened in the lower frame and FB doesnt like it.

Try <a href='http://www.facebook.com/QuaFootSpa/' target='_blank'>Facebook Page</a>
your putted https:// instead of http://
Tested and works.

You are using frame and in frame self works in the frame so use target="_top"
<img src="images/qspa/fb_btn.png">

Related

joomla:how to show a image popup to enter into website

I want to show a click-able image popup on my home page of my website.
when user clicks on that image further they can view the website.
Use anchor text around it...
<a href="<URL TO WHERE YOU WANT TO GO>" ><img src="<PATH TO IMAGE>" /></a>
The simplest solution is probably to use a third party extension like SplashR or similar:
http://extensions.joomla.org/extensions/style-a-design/popups-a-iframes/11693

change hyperlink formation to iframe?

hi i have a link that shows a google map and echoe's the users location on the map, at the moment this works by the user clicking the link and the map opening in a new window.
what i want to try and do though is make this into an iframe, so there is no need to click a hyperlink, and instead the map and the users location is being echoed in the iframe. is this possible?
here's my link:
click
what i have tried:
<iframe src="http://maps.googleapis.com/maps/api/staticmap?size=500x500&maptype=roadmap\&markers=||<?php echo $location['user_location'] ?>,UK&sensor=false&zoom=8"></iframe>
any reason why im just seeing a blank iframe? thanks
Why you use iframe ? use img
<img src="http://maps.googleapis.com/maps/api/staticmap?size=500x500&maptype=roadmap\&markers=||<?php echo $location['user_location'] ?>,UK&sensor=false&zoom=8">

Calling a URL from the Address Bar

I'm working on a link cloaker, and one of the features is the "Add This" social bookmark widget. It gives you the opportunity to define the URL that will be shared with this code:
<div class="addthis_toolbox addthis_default_style " addthis:url="THE URL">
As it's showing in a top frame, I want "THE URL" to be the URL in the address bar. As it is, it's only "sharing" the URL of the top frame in which it resides.
Here's the example:
http://1max.us/go/test
What bit of PHP could I replace "THE URL" with that would make it pick up the whole page, not just the top frame?
I got it to work. This is what did the trick:
<? echo $url="".$_SERVER['HTTP_REFERER']; ?>

Iframe to Main URL

As of my requirement, I have placed an anchor tag in an IFRAME. When I click on anchor link, the page redirects the page in the IFRAME. Here, my requirement is when user clicks on anchor tag, (Which is in IFRAME) the page redirects to the main url (Not in the IFRAME). How can I do this in PHP or in JavaScript. Can you please say some thing?
try <iframe> <a href="#" onclick='window.location.href="homepage.php"' >click here </a> </iframe>??.. this ones javasript..
You're looking for the <a target= attribute. Setting it to _top will change the url of the outermost frame, and setting it to _parent will change the url of the parent frame.

Flash banner is working if the page url have preceding "www" and not working if not

I have a weird problem,
Flash banner is working "clickable" if the page url have preceding "www" and not working if not,
So the if the URL in the address bar was "www.example.com" the banner will be clickable and will redirect you to the link embedded in it, if the URL was "example.com" the flash banner will not be working.
any ideas ?
try putting this in the params while embedding the flash code,,
allowscriptaccess="always"
and if you have not put the click tag then put
on (release) {
if (clickTAG.substr(0,4) == "http") {
getURL(clickTAG, '_blank');
}
}
refer to the below link for more details
http://support.qualityunit.com/knowledgebase/post-affiliate-pro/troubleshooting/flash-banner-is-not-clickable.html

Categories