Jump to content

target="blank" within a widget


yesdavy

Recommended Posts

<!-- Start FreeStockCharts.com WatchList Widget --><p width="100%" align="center"><iframe width="300" height="120" scrolling="no" frameborder="0" style="border:none;" src="http://widgets.freestockcharts.com/WidgetServer/WatchListWidget.aspx?sym=DIA,NYSE,COMPQX,SPY,CAC&style=WLBlueStyle&w=300"></iframe></p> <!-- End FreeStockCharts.com WatchList Widget -->

 

This code is taking visitors away from my site site and I cannot figure out how to have it open in a new tab or window. I have used target=blank everywhere imaginable to no avail. Suggestions?

 

Thanks!

Link to comment
Share on other sites

I don't think you can change that, that link is part of the RSS you're importing.

 

Also, you have 69 validation errors, are using an HTML 5 doctype, but instead of using HTML5 tags, you have a slew of deprecated tags and inline styling.

Link to comment
Share on other sites

I don't think you can change that, that link is part of the RSS you're importing.

 

Also, you have 69 validation errors, are using an HTML 5 doctype, but instead of using HTML5 tags, you have a slew of deprecated tags and inline styling.

 

 

Do you mean that the WordPress theme is html5? Is there an app for searching it to locate the html tags and change them to html5? Are these the validation errors you referenced?

Link to comment
Share on other sites

I just looked at your source code - it begins with

<!DOCTYPE html>

which is the doctype for HTML 5.

 

Most people really don't know this but that doctype is backward compatible and so using it will still force older/modern browsers like IE6, 7, 8 Firefox 2, Opera, etc. and on up to render the page(s) in standard mode.

Link to comment
Share on other sites

Most people really don't know this but that doctype is backward compatible and so using it will still force older/modern browsers like IE6, 7, 8 Firefox 2, Opera, etc. and on up to render the page(s) in standard mode.

 

What would be the point so in using this doctype and nothing but pre HTML5 tags? Is there any advantage to that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...