#235377 - 06/29/08 04:09 PM
Does anyone here know HTML?
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
Hello,
I have the following code in my site. The idea was to have this code create a hotlink button that takes the visitor to my blog. Instead, what it does is opens a new page (as I want) but it also adds an additional "http://" to the URL and then returns the address of the current page, not the target page requested in the code. Of course, with two "http://" entries, I get nothing. Will someone please tell me what I'm doing wrong?
<A href="http://www.georgiafirsttimehomebuyer.blogspot.com/" target=_blank></A> <CENTER><IFRAME src="http://home.att.net/~essentialsforliving/hmbuttn.swf" frameBorder=1 width=520 height=70></IFRAME><CENTER></A>
|
|
Top
|
|
|
|
#235412 - 06/29/08 08:05 PM
Re: Does anyone here know HTML?
[Re: Greene]
|
Veteran Member
Registered: 12/31/69
Posts: 814
Loc: Canada
|
Right now you have linked the edges of your iframe to your blog which should not be and your hmbutton.swf does not seem to exist.
The link should actually be coded right into the swf I would think. You should not need a <a href=> at all.
_________________________
Proven effective Websites for Realtors - Exclusivity - One agent per market area! Some areas available that offer immediate exposure with pre-existing top 10 search engine positions! Visit my Realtor websites blog for maintaining a successful online presence.
|
|
Top
|
|
|
|
#235449 - 06/30/08 05:25 AM
Re: Does anyone here know HTML?
[Re: doug]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
Thanks. I'm very new to HTML, pretty much copying code that I find over the internet.
|
|
Top
|
|
|
|
#235470 - 06/30/08 08:24 AM
Re: Does anyone here know HTML?
[Re: Malok]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
Yeah, as a former corporate trainer, I had to learn a lot on my own by trial and error. Oddly enough I learned best that way, especially when I had to train others on what I learned on my own. And to your point, I'm learning some of the rules of HTML that way.
There's a solution to this issue because it worked once. I just have to remember what I did.
|
|
Top
|
|
|
|
#235487 - 06/30/08 09:25 AM
Re: Does anyone here know HTML?
[Re: doug]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
Right now you have linked the edges of your iframe to your blog which should not be and your hmbutton.swf does not seem to exist.
The link should actually be coded right into the swf I would think. You should not need a <a href=> at all. Strangely, it seems to be the left and right edges too. The .swf file does exist and I tried removing the <a href=>, but that caused the text in the brackets to appear above the button. I'm still working on it and appreciate your input. Thanks
|
|
Top
|
|
|
|
#235626 - 07/01/08 04:43 AM
Re: Does anyone here know HTML?
[Re: Perky_REALTOR]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
you forgot the quotation marks around target=_blank. It needs to be target="_blank"
For some reason I'm thinking that the quotes should be around the border and size properties as well ( border="1"> but I could be wrong about that. Thanks Perky, but the quotes did not make any difference. The edges remain linked properly while the middle still yields double "http" and the current page(not the target page).
|
|
Top
|
|
|
|
#235718 - 07/01/08 05:37 PM
Re: Does anyone here know HTML?
[Re: Greene]
|
Junior Member
Registered: 05/05/08
Posts: 7
Loc: WA, U.S.
|
I cleaned up your code and tried it in a html tester and it worked fine, copy and paste this:
<center> <a href="http://www.georgiafirsttimehomebuyer.blogspot.com/" target="_blank"><IFRAME src="http://home.att.net/~essentialsforliving/hmbuttn.swf" frameBorder="1" width="520" height="70"></IFRAME></a> </center>
|
|
Top
|
|
|
|
#235792 - 07/02/08 05:11 AM
Re: Does anyone here know HTML?
[Re: jdonnovan]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
Thanks. It must be something within point 2 that is creating this additional "http://".
|
|
Top
|
|
|
|
#235793 - 07/02/08 05:28 AM
Re: Does anyone here know HTML?
[Re: Greene]
|
Member
Registered: 11/25/06
Posts: 354
Loc: Georgia
|
You're all trying to help and it is appreciated. But Jdonnovan, I just modified the tags so that the iframe would would point back to my main site, TheAtlantaHomePages.com, from my blog, GeorgiaFirstTimeHomeBuyer.BlogSpot.com, and a new window opened when it was clicked displaying the same blog page, not the intended linked page. No double "http://" this time.
<center> <a href="http://www.theatlantahomepages.com/" target="_blank"><iframe frameborder="1" width="520" src="http://home.att.net/~essentialsforliving/blgflsh.swf" height="70"></iframe></a> </center>
Any thoughts?
Edited by Greene (07/02/08 05:32 AM)
|
|
Top
|
|
|
|
#235797 - 07/02/08 07:53 AM
Re: Does anyone here know HTML?
[Re: Greene]
|
Veteran Member
Registered: 10/14/07
Posts: 585
Loc: Outer Banks
|
It might have to do with trying to manipulate a template site.
|
|
Top
|
|
|
|
#237067 - 07/09/08 07:13 PM
Re: Does anyone here know HTML?
[Re: Bigtoe]
|
Member
Registered: 04/28/08
Posts: 47
Loc: Mijas, Spain
|
If you paste this into your browser http://home.att.net/~essentialsforliving/blgflsh.swf you will see your banner display and when you click the banner it goes to your blog site and that's without all the other code i can't see the source code for this page so i can't see why it's linking there maybe in the code for the banner you have programmed it to go there ?! Baffled myself now Good luck hope someone comes to the rescue for you
|
|
Top
|
|
|
|
#245686 - 08/21/08 11:05 PM
Re: Does anyone here know HTML?
[Re: PaulNHS]
|
Member
Registered: 08/21/08
Posts: 40
Loc: Florida
|
Here, try adding an onClick event:
<center> <iframe frameborder="1" width="520" src="http://home.att.net/~essentialsforliving/blgflsh.swf" height="70" onClick="window.open('http://www.theatlantahomepages.com')"></iframe></a> </center>
|
|
Top
|
|
|
|
|
|