Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 New auto-resizing images version (1.2)
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 5

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 December 2003 :  07:55:19  Show Profile  Visit MarcelG's Homepage
Nope, I didn't. However, before I added the walkImages() to the body tag, the function didn't fire at all...

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

RArch
Junior Member

United Kingdom
103 Posts

Posted - 15 December 2003 :  20:01:52  Show Profile
Thanks for the information marcelgoertz I’ve got it working a treat now

In the header file I added the script code in twice around lines 95 and 311 as indicated.
I found two body code tags so I added the onload code in both as you showed.
I think that first section around lines 95 will only run if you don’t have a database set so
shouldn’t matter if it wasn’t changed.

BTW I'm using this with SHN modified forum.


Edited by - RArch on 15 December 2003 20:04:33
Go to Top of Page

serritzlev
Junior Member

Denmark
291 Posts

Posted - 18 December 2003 :  10:11:12  Show Profile  Visit serritzlev's Homepage
Thanks it is what i ned to get this mod to works on my image forums
quote:

RArch,

What I needed to do was this:
Step 1: I moved the inclusion of the script from INC_FOOTER.ASP to INC_HEADER.ASP.
Remove the following section from inc_footer.asp :

"<script language=javascript src='resizeimgs.js'></script>" & vbNewLine & _

In INC_HEADER.ASP find this: (should be around line 95 AND 311
"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """
aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

After it place
"<script language=javascript src='resizeimgs.js'></script>" & vbNewLine & _

Step 2: Added the following to INC_HEADER.ASP ;
inside your <body> tag place the following text:

onload=walkImages()

so replace your current tag:

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _

with
"<body onload=walkImages() " & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine & _




Edited by - serritzlev on 18 December 2003 10:11:47
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 24 December 2003 :  01:24:36  Show Profile  Visit Kal Corp's Homepage
Nice Mod.

Added to the forums on "VAS Development Network"

Thanks!


{VAS}-Kal Corp
VAS Development NetWork - Forums for old Snitz Mods!
Creator of all things {VAS}
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 04 March 2004 :  09:43:12  Show Profile
if the pop-up window can be changed to the IE windows?
thanks.

Who am i?
I lost my dream!
Go to Top of Page

sandro65
Starting Member

8 Posts

Posted - 04 March 2004 :  11:06:18  Show Profile
and possible to open also the thumb of the images in one window like that one of "New auto-resizing images version (1.2)"
Thanks

This account was hacked into by Image, a very honest guy as you all can see! Stealing people' s passwords IS his pasttime.
Go to Top of Page

maduko
New Member

USA
58 Posts

Posted - 25 May 2004 :  09:24:32  Show Profile  Visit maduko's Homepage
One suggestion that is worth considering is the cursor style. At least in IE6 the cursor remains an arrow even though the image thumbnail is a hyperlink. I modified the 3 lines added in the inc_function_common.asp file so the cursor becomes a hand when mousing over the images.

Just change the portion:
style='cursor:default'
to read:
style='cursor:auto'
and it's done.




Places2ride.com

Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 30 September 2004 :  19:00:42  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I have a slight problem in this one that if I click and drag the image after enlarging it, and then I want to say click to close it, after releasing the drag, it like sticks and follows the mouse making it impossible to close the enlarged image, has anyone come across this problem and solved it?

coaster crazy
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07