Advertising Blog

Advertising Information One Blog Post at a Time

Menu
  • Work From Home
  • Ukrainian Dating Service
Menu

How To Open in a Small New Window Using HTML

Posted on December 28, 2015April 22, 2016 by Travis

How To Open in a Small New Window Using HTML

 

I’m keeping this blog post short so it will be easy for you to understand. First off below is how the link would look if it

were an image.


Vince carter Dunks on Frederic-Weis

The code for the above is below:

Β <a href=”https://advertising-blog.org/vincecarter.htm”

onclick=”window.open(‘https://advertising-blog.org/vincecarter.htm‘,

‘newwindow’, ‘width=540, height=408‘); return false;”rel=”me

nofollow”>
<img src=”https://advertising-blog.org/wp-content/uploads/2015/12/Vince-Carter-Dunks-over-

Frederic-Weis.jpg” alt=“Vince carter Dunks on Frederic-

Weis” width=”250” height=”318” />

The portions highlighted in red above must be changed and the portions in blue should also be changed based on your desired

sizes. Also the quotation marks(” “) may also need to be change.


 

If you want the above in text form use the code below:


Vince carter Dunks Over Frederic-Weis

<a href=”https://advertising-blog.org/vincecarter.htm”

onclick=”window.open(‘https://advertising-blog.org/vincecarter.htm‘,

‘newwindow’, ‘width=540, height=408‘); return false;”rel=”me nofollow”>
Vince carter Dunks Over Frederic Weis</a>


 

I know what some of you might be thinking. How about opening into a new Image well you can do that using the code below:


Vince carter Dunks Over Frederic Weis

<a href=”https://advertising-blog.org/vc.htm”

onclick=”window.open(‘https://advertising-blog.org/vc.htm‘,

‘newwindow’, ‘width=250, height=318’); return false;”rel=”me nofollow”>
Vince carter Dunks Over Frederic Weis</a>


For the record the HTML for https://advertising-blog.org/vc.htm file reads like this:

<html>
<head>
<style type=”text/css”>
body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<img src=”https://advertising-blog.org/wp-content/uploads/2015/12/Vince-Carter-Dunks-over-Frederic-Weis.jpg” alt=”starting” style=” width=”250″ height=”318” />
</body>
</html>

Notice the width and the height are the same as the new window that opens.

If you found this blog post informative please share it with a friend.

Leave a Reply

Your email address will not be published. Required fields are marked *


International Dating Services

Find a Post

Recent Posts

  • 🚨 Stagflation Is Here – Why the Fed Can’t Save the Markets Stagflation is wreaking havoc on the ma
  • FULL MATCH: Kurt Angle vs. Brock Lesnar – WWE Title Match: WrestleMania XIX
  • Cobra Kai’s Best Scenes – Seasons 1 & 2
  • Anaconda – Best Scenes
  • Kendrick Perkins RESPONDS to Timberwolves vs. Pistons EJECTIONS! 🍿 | Get Up
  • Number 1 is OUTRAGEOUS! 😳
  • Tim Tebow’s gender reveal story πŸ˜†
  • Dominik Mysterio’s funniest moments: WWE Playlist
  • The Night Club Fight | Charlie’s Angels | CLIP πŸ”₯ 4K
  • Premier League Run In: Every Moment More DRAMATIC Than the Last!
  • These KNOCKOUTS Are Stuck In My Head πŸ”₯
  • Isak, Bruno Guimaraes, Joelinton, Livramento πŸ”₯
  • HOW TRUMP IS USING TARIFFS AS A GIANT NEGOTIATION TOOL #shorts
  • Mikel Arteta says Bukayo Saka is “ready to GO!” πŸ‘€
  • The crowd loved this πŸ˜‚
  • Kevin Durant went to the locker room after this play
  • J.B. Bickerstaff was amongst the 7 ejected in the Pistons-Timberwolves scuffle
  • THIS DIVE 😳
  • What a flex 🀯 (via @isabella.kiely/TT)
  • UCLA’s reaction to this question πŸ˜…
Β©2023 Advertising Blog | Advertising Information