You are here: DEVPPL Forum Programming HTML Forum
NOTIFICATIONS
54.059
MEMBERS
15.676
TOPICS
62.240
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

frameset problem

0

Loading

frameset problem

Postby Sandalvincci » Mon Sep 06, 2010 3:01 am

hello there...
i have a system which uses frameset to view another html page, lets say a.html ..
this a.html is actually an excel file which has been saved as html..in this file, I have made a list of movie title. once a user click on the title, it will open the movie's poster in a pdf file format.
my problem is that, once the user click on the movie title (in a.html), it will open the pdf file in the same page as the a.html is..i want it to open in a different tab ; 1 tab is used to view the movie title, and another tab is to view the poster in pdf file.
is there any ways to do this?
Sandalvincci
 
Reputation: 0
Posts: 1
Joined: Mon Sep 06, 2010 2:44 am
Highscores: 0
Arcade winning challenges: 0

frameset problem - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

Re: frameset problem

Postby Pep » Fri Dec 10, 2010 6:52 pm

I will recommend you to visit HTML fieldset tag to see how it works, will help you and try again.
Pep
 
Reputation: 0
Posts: 7
Joined: Wed Dec 01, 2010 3:11 pm
Highscores: 0
Arcade winning challenges: 0
0

Loading

Re: frameset problem

Postby HotNoob » Fri Dec 10, 2010 7:17 pm

you have to look in the code of the excell file or whatever.

find the link to the pdf in the code
and change add/change the target of the link to
"_blank"

for example
Code: Select all
<a href="http://google.ca" target="_blank">google.ca</a>
HotNoob
 
Reputation: 0
Posts: 169
Joined: Sun May 02, 2010 2:38 am
Highscores: 0
Arcade winning challenges: 0
0

Loading

Re: frameset problem

Postby Paolo » Sat Dec 11, 2010 7:46 pm

Or put there some javascript code and handle onclick event on links. Use window.open and this method provides more flexibility than just adding target="_blank" to links.
Paolo
 
Reputation: 0
Posts: 12
Joined: Fri Dec 10, 2010 12:30 pm
Highscores: 0
Arcade winning challenges: 0
0

Loading

Re: frameset problem

Postby HotNoob » Tue Dec 14, 2010 5:25 am

paolo1 wrote:Or put there some javascript code and handle onclick event on links. Use window.open and this method provides more flexibility than just adding target="_blank" to links.

window.open doesnt provide more flexibility because there are still users who do not have javascript enabled on their browsers.

plus, when you ctrl + click the link, some browsers will bug out and open a new empty tab.
HotNoob
 
Reputation: 0
Posts: 169
Joined: Sun May 02, 2010 2:38 am
Highscores: 0
Arcade winning challenges: 0
0

Loading

Re: frameset problem

Postby Paolo » Tue Dec 14, 2010 11:04 am

HotNoob wrote:there are still users who do not have javascript enabled on their browsers.

Oh it's sad.. Anyway I've started to learn javascript lately so I just wanted to give some advise...
Paolo
 
Reputation: 0
Posts: 12
Joined: Fri Dec 10, 2010 12:30 pm
Highscores: 0
Arcade winning challenges: 0
^ Back to Top