Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Why is it when I use target="_blank" for a link, it only opens a new page in Safari?
Old 11-07-2008, 03:11 PM Why is it when I use target="_blank" for a link, it only opens a new page in Safari?
Junior Talker

Posts: 1
Name: Jack
Trades: 0
I tried using both javascript and HTML to make a link connect to a new window. My website is www.cpaphouse.com, and if you click on the button on the left that says "free shipping", you will see that it does nothing (unless you are using safari, in which a new window opens).

Can anyone look at my source code and tell me what I'm doing wrong? It used to simply be an <a href="/freeshipping.html target="_blank">[image]</a>, and now it is javascript. Help!
HTMLdude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-07-2008, 04:07 PM Re: Why is it when I use target="_blank" for a link, it only opens a new page in Safa
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
I have to say I am bit confused here. This is a flash button? That's a lot of code for a simple button it seems.

Why not:
1. Make the link as you had it originally with regular href and target="_blank".

2. Make two images (on.gif and off.gif) using a simple javascript image swap(onMouseOver onMouseOut) to do the same thing as your flash button does.

Then the browsers will load the href page location in a new window like you want. I only use javascript:void(0); when I want the "onclick" to perform some task on the same page like an image swap or a change of content of a div, etc.

Hope this hepled.
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 11-09-2008, 07:50 PM Re: Why is it when I use target="_blank" for a link, it only opens a new page in Safa
trouble706's Avatar
Novice Talker

Posts: 5
Name: William
Trades: 0
I looked at your code. That will not work. You are going to have to take the .fla file back to Flash and create an invisible button over the image and that will then be your link. You can't use Java Script or HTML to make a link with a Flash application any other way.
There is a good tutorial on it at this link http://www.developingwebs.net/flash/...blebuttons.php
trouble706 is offline
Reply With Quote
View Public Profile
 
Old 11-16-2008, 01:33 AM Re: Why is it when I use target="_blank" for a link, it only opens a new page in Safa
Registered User

Posts: 78
Name: Joseph
Location: Texas
Trades: 0
Maybe its because safari is set as your default browser.
josephcohen is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why is it when I use target="_blank" for a link, it only opens a new page in Safari?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.60475 seconds with 12 queries