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 | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 02 December 2003 :  16:05:32  Show Profile  Visit MarcelG's Homepage
Yepz..same goes for me...no resizing using IE6 SP1
Not at http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=16672, not at my own site/testtopic http://www.oxle.com/topic.asp?TOPIC_ID=475, however actually working at Codezulu's (http://www.codezulu.com/forum/topic.asp?TOPIC_ID=1111)

Any help would be very appreciated!

BTW Comparing the HTML sourcecode between Codezulu and my page:
Codezule example
<img name='img' src="http://www.computerandvideogames.com/screenshots_library/dir_217/vortal_pic_108807.jpg" border="0" style='cursor:default' onClick='doimage(this,event)'>
example from oxle:
<img name='img' src="http://www.computerandvideogames.com/screenshots_library/dir_217/vortal_pic_108807.jpg" border="0" style='cursor:default' onClick='doimage(this,event)'>

Okay...if I am not completely crosseyed or delusional, these are identical ? I downloaded the resizeimgs.js file from codezulu to doublecheck, however nothing changes as a result of that....

I am lost..

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 02 December 2003 16:36:46
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 02 December 2003 :  16:26:53  Show Profile
The resizer event fires on the document or window onload. If the images don't load before the page they will not be resized, but clicking refresh will resize them because they will be in the browser cache

The UK MkIVs Forum
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 02 December 2003 :  16:37:42  Show Profile  Visit MarcelG's Homepage
David, sorry, but it doesn't resize even on 50 refreshes...while the exact same picture is in my cache from the codezulu page (see my post), where it does work.

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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 08 December 2003 :  14:34:01  Show Profile  Visit MarcelG's Homepage
David, I've just found out that the resize works just fine when using Mozilla (1.5), but when using IE nothing happens except for the in-screen window when I click the image....any suggestions ?

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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 10 December 2003 :  08:29:45  Show Profile  Visit MarcelG's Homepage
Sorry to bump this topic, but is there anyone who has got this mod working correctly with IE ?

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

Jag24
Junior Member

182 Posts

Posted - 10 December 2003 :  09:45:05  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
I have installed this Mod. It seems to work fine for me. Once in a while the image will not resize until you do a refresh. But for the most part it seems to work great on IE 6 (all the latest updates installed)
Go to Top of Page

serritzlev
Junior Member

Denmark
291 Posts

Posted - 10 December 2003 :  09:59:43  Show Profile  Visit serritzlev's Homepage
Hi jag24 yes this works fine in crash or serverhacker codes but not in images/huwr forums but whay i have not found that fault there do it and i want realy this addon to my forums but that must wait to this codes is ben fix.

Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 10 December 2003 :  10:28:17  Show Profile  Visit MarcelG's Homepage
just thinking outloud ;
the mod works well on my site using Mozilla, but does not work using IE. It does however create the 'when-you-click-this-image-a-new-window-popsup' function, but the resize fails...

I read something in this topic regaring the onload function and the menu, however I have removed the menu from my site...is there anyone who can see some fault on my pages ? Any help would be very much appreciated.

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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 11 December 2003 :  09:11:55  Show Profile  Visit MarcelG's Homepage
Sorry, but here I am again...I've tried the .js files from several sites, and I still cannot get it to work correctly. Could it be that this could be a serverside issue ? (just guessing)
The only thing that does work is that when a picture _is_ bigger than I defined in resizeimgs.js, it is clickable with a mouseover effect. That's all that happens...it does not resize.
However if I do 'View source' on my pages or on the other pages, they both look (except for other things) the same..at least the IMG parts, and the inclusion of the resizeimgs.js...

As I am using the sidebarmod on my site, the width of the topic is even more limited than normally, so this mod would help me very much.

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

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 11 December 2003 :  09:48:13  Show Profile
marcelgoertz, do you have any document.onload events on your page, they could be conflicting

The UK MkIVs Forum
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 12 December 2003 :  01:56:35  Show Profile  Visit MarcelG's Homepage
Not as far as I can see, at least not when I view the source of my pages....
I will search all files tonight for the text 'onload'.
Just a thought, but would it be possible that you send me some of your files (topic.asp, inc_func_common.asp, inc_footer.asp), so I can check the differences ?

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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 12 December 2003 :  03:18:57  Show Profile  Visit MarcelG's Homepage
Yes, at last it's working!!! Many thanks to Umlungu himself.
He pointed me in the right direction He told me what to do
It turned out that adding the onload=walkImages() to the <body> tag in inc_header.asp.
It's working as a charm now! happy happy joy joy

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

RArch
Junior Member

United Kingdom
103 Posts

Posted - 14 December 2003 :  17:54:48  Show Profile
Umlungu / marcelgoertz

Can you explain exactly what had to be done...

Thanks
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 15 December 2003 :  02:31:46  Show Profile  Visit MarcelG's Homepage
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 & _

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

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 15 December 2003 :  04:08:42  Show Profile
marcelgoertz, did you remove walkImages() from 'resizeimgs.js', you'd be firing the function twice if not

The UK MkIVs Forum
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | Next 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