The time now is 09/11/08 - 23:23
Log in: Username: Password:
Search forums for:
  

absolute noob at web design.

Post new topic   Reply to topic
Author Message
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 21:19    Post subject: absolute noob at web design. Reply with quote

i want to ask you guys so i can get an answer while i'm working instead of actually grinding out an answer with google.

how do i make a link open in a seperate window?

so i want to have a thumbnail sorta thing, and then have them click it and open a larger image in a seperate window..

how do you actually do that?
Back to top
merdocc
RealPoor Guru
RealPoor Guru


Joined: 11 Oct 2002
Posts: 2038
Location: Pasadena Ca



PostPosted: 09/27/04 - 21:27    Post subject: Reply with quote

If you want your link to open a page in a new window use the target="_blank" in the <.a href> tag.
Back to top
kemble
RealPoor Sensei
RealPoor Sensei


Joined: 14 Oct 2002
Posts: 1909
Location: MI



PostPosted: 09/27/04 - 21:32    Post subject: Reply with quote

Code:
<A HREF="http://www.ilikedick.com/penis.htm" target="_blank">Penis in the ear!!</A>
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 21:42    Post subject: Reply with quote

sweet lol i'm so dumb.
Back to top
gotissues68
RealPoor Sensei
RealPoor Sensei


Joined: 21 Aug 2003
Posts: 1866



PostPosted: 09/27/04 - 21:44    Post subject: Reply with quote

www.htmlgoodies.com is teh win. I used it as my reference when I was learning webdesign
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 21:45    Post subject: Reply with quote

ok so how do i get it to open a window the exact size i want?

i want it to open a seperate window with an image in it... so i'll just upload a little html file that i'm linking to, have it open in a blank window, but the image size will change from link to link... so how do i specify the size of the window?
Back to top
Zuldane
RealPoor Guru
RealPoor Guru


Joined: 11 Oct 2002
Posts: 4057
Location: At sea.



PostPosted: 09/27/04 - 21:45    Post subject: Reply with quote

<A HREF="http://www.ilikedick.com/penis.htm" target="penis">Penis in the ear!!</A>

You could even make the target = penis; which is the ideal thing to do.
Back to top
kemble
RealPoor Sensei
RealPoor Sensei


Joined: 14 Oct 2002
Posts: 1909
Location: MI



PostPosted: 09/27/04 - 21:56    Post subject: Reply with quote

javascript in all likelyhood

Code:
<a href="home.htm" onClick="MM_callJS('window.open (\'penis.htm\', \'newWin\', \'scrollbars=yes,status=no,resizable=yes,width=500,height=700\')')">
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 21:59    Post subject: Reply with quote

that's kinda what i figured, but i had absolutely no clue how to do that.

thanks guys
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 22:05    Post subject: Reply with quote

erm ok i thought i used that all right...

Code:
<a href="http://files.frashii.com/~atarom/pill.html" onClick="MM_callJS('window.open (\'pill.html\', \'newWin\', \'scrollbars=yes,status=no,resizable=yes,width=600,height=800\')')">


but that doesnt seem to want to actually open a new window..
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 22:42    Post subject: Reply with quote

ok so i got it to work using this:

Code:
<a href="http://files.frashii.com/~atarom/pill.html" onClick="window.open('http://files.frashii.com/~atarom/pill.html', 'pill',config='width=780,height=540')"><img src=http://files.frashii.com/~atarom/pillthumb.jpg><small><P align=right>Click for Full Image</small></P></a>



So here's the problem though, I dont want the mainpage to actually change where it is... with that it takes both the main page and the new window to the html file i created for the full size picture...
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/27/04 - 23:32    Post subject: Reply with quote

nevermind, i used this

Code:
<a href="">


because i'm smart.

only problem is that it doesnt leave them in the same spot on the main page.

that's acceptable though... everything else works.

amazing.

man i seriously havent done any of this since the 8th grade (8 years ago lol)

so i'm sorta outta the loop.

thanks for help guys. it's kinda fun getting back into it,
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/28/04 - 06:04    Post subject: Reply with quote

Ok next question:

I want my site's banner to randomly display a different one of 4 images... how do i randomize it?
Back to top
NickPSH
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 5680



PostPosted: 09/28/04 - 06:11    Post subject: Reply with quote

<!-- Begin

// =======================================
// set the following variables
// =======================================

// Set speed (milliseconds)
var speed = 5000

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'fuckuatarom'
Pic[1] =
Pic[2] =
Pic[3] =

//

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}

function runBGSlideShow(){
if (document.body){
document.body.background = Pic[j];
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runBGSlideShow()', speed)
}
}
// End -->
</script>
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/28/04 - 06:25    Post subject: Reply with quote

no, no, i want a different banner each time the page loads...

not an animation
Back to top
NickPSH
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 5680



PostPosted: 09/28/04 - 06:26    Post subject: Reply with quote

fagarom wrote:
Ok next question:

I want my site's banner to randomly display a different one of 4 images... how do i randomize it?


YOU DID NOT SAY THAT AT THE START WHY MUST YOU TORTURE ME, I WENT THROUGH MY PORTFOLIO TO FIND THAT s***s MISTER
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/28/04 - 06:27    Post subject: Reply with quote

i tried using ASP but it wouldnt work..

http://htmlgoodies.earthweb.com/beyond/asp4.html
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/28/04 - 06:34    Post subject: Reply with quote

nm found the answer again.
Back to top
Occulis
RealPoor Jedi
RealPoor Jedi


Joined: 11 Oct 2002
Posts: 13293
Location: Moral Relativity Central



PostPosted: 09/28/04 - 08:33    Post subject: Reply with quote

Code:

<img src="file<?php print rand(1,4);?>.gif" alt="hi" />
Back to top
atarom
Dalai Lama of RealPoor
Dalai Lama of RealPoor


Joined: 11 Oct 2002
Posts: 16395
Location: 375th st. Y



PostPosted: 09/28/04 - 14:57    Post subject: Reply with quote

oh that's easier...

i used some array thing.
Back to top
gotissues68
RealPoor Sensei
RealPoor Sensei


Joined: 21 Aug 2003
Posts: 1866



PostPosted: 09/28/04 - 15:07    Post subject: Reply with quote

Occulis wrote:
Code:

<img src="file<?php print rand(1,4);?>.gif" alt="hi" />


You're the shit dunn I bow to you
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics:
WTB Absolutely Nothing
This makes absolutely no sense!
taking absolutely ANY rs accounts....even lvl 3's
in the winter i have absolutely no life..
BUYIN ABSOLUTELY ALL STEEL AND MITH BARS!!!!!!!!!!!!!!!!!
WTS Absolutely GODLIKE PvP Tauren Warrior! Epic PvE set too!
Ok, I've absolutely had enough of the Rebublicans.
taking absolutely ANY runescape accounts.....ANY level!!!
Absolute cheapest DVDs?
lvl 72 absolutely free