GetDotted Domains

Viewing Thread:
"Silly Scripts"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 27/10/02 at 21:21
Regular
Posts: 787
Never seem to do what I want them to! I stole this nice little script earlier today, it's a pop-up window:



The rest of the script info os on the link:

Click Here


My problem is, the stupid auto borders which are made when a new window's created/opened...
The windows for my images are made to be the same size as the windows, pretty sure thats not a good idea as you have to allow for the window border..etc but i've got that one sorted...
My problem is getting the image to include into a page and this page will have so the image grabs onto all 4 corners of the window and shows it's delights to all the world.

Can someone help me? I have seen scripts like this, i've been messing around with a few today but since I know as much about Javascripts as i do about the meaning of life, i'm a bit stook.

pretty please with a cherry on top, give me some help.
..doesn't have quite the same ring to it.
Sun 03/11/02 at 21:37
Regular
"It goes so quickly"
Posts: 4,083
I don't know why, but I like to keep my HTML neat, so when I, or others use the 'View Souce' its set out nicely :o)
Sun 03/11/02 at 19:48
Regular
"IT'S ALIVE!!"
Posts: 4,741
cjh wrote:

> print "\nA HEADING\nSome Text\nA
> Link\n"
>
> it would appear as:
>
>
> A HEADING
> Some Text
> A Link
>


..ah, thats where I was going wrong :$
cheers though :) very useful info.
Sun 03/11/02 at 19:14
Regular
"It goes so quickly"
Posts: 4,083
cjh wrote:
> is the typical code doe a \n.


Should have read
> is the typical code for a \n command.
Sun 03/11/02 at 19:14
Regular
"It goes so quickly"
Posts: 4,083
print "Some Text\n";
print "A quote \"in here\" and then a line break\n";

is the typical code doe a \n.

BUT, you have to remeber \n only makes a new line in your Source Code, not your actual Page, so if you had:

print "\nA HEADING\nSome Text\nA Link\n"

it would appear as:


A HEADING
Some Text
A Link


... in your source, but the text on your Web Page would be on one line:

A HEADINGSome TextA Link

... like that,
Sat 02/11/02 at 16:35
Regular
"IT'S ALIVE!!"
Posts: 4,741
? \n didn't work for me :(
PHP doesn't like me...
Sat 02/11/02 at 15:11
Regular
"It goes so quickly"
Posts: 4,083
PHP does :oP
Sat 02/11/02 at 15:00
Regular
"IT'S ALIVE!!"
Posts: 4,741
I was about to say the same thing :D 28 replies.
I'm very grateful though, i'm lost when it comes to Javascript but after talking to you about this i've seen how clever it is. I like the \" and \n pure genius, wish PHP had them :)
Sat 02/11/02 at 14:12
Regular
"It goes so quickly"
Posts: 4,083
I didn't think there was a limit as to the minimum size, as when I was trying to get the size thing right, for some reason I got a window which seem to be 20 X 20, even though the values were 400 x 400 ... stupid JavaScript, lol.

I say just add a close link under the banner Image, so it fills the blank gap under the banners :o)

CLOSE WINDOW
or
CLOSE WINDOW

will do this :o).

Can't believe it took us over 25 posts to get this far :oP. I'm slipping.
Fri 01/11/02 at 15:48
Regular
"IT'S ALIVE!!"
Posts: 4,741
heh, it seems ok now apart from one..the banner :) it makes the window too tall but I guess theres a limit to how small you can make a window..

Thankyou very much for all your help though :D
Fri 01/11/02 at 11:31
Regular
"It goes so quickly"
Posts: 4,083
... still don't get why the Window would open bigger than the size settings. Though you seem to have sorted that :o)

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.