Author Topic: images after HTML  (Read 4001 times)

lnminente

  • Jr. Member
  • **
  • Posts: 73
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
images after HTML
« Reply #15 on: August 19, 2002, 11:52:43 PM »
I send here my two attempts i made before started this.
No one works, i send they here, maybe can appears new ideas:

The first:
Name = "INM-Intento de cargar antes el HTML que las imagenes"
Active = FALSE
Multi = TRUE
Bounds = "$NEST(<html>,</html>)"
Limit = 32767
Match = "1"
Replace = "1"

The bug of this filter was the limit, because the maximun of 32767 is too small to a web page.


The second:
Name = "INM-Intento de cargar antes el HTML que las imagenes Parte1"
Active = FALSE
Multi = TRUE
Bounds = "<i(mg|mage|nput)*>"
Limit = 512
Match = "<(i(mg|mage|nput))12"
Replace = "<PC27591OW2N52"

Name = "INM-Intento de cargar antes el HTML que las imagenes Parte2"
Active = FALSE
Multi = TRUE
Bounds = "<PC2759*>"
Limit = 512
Match = "<PC2759i(mg|mage|nput)1OW2N52"
Replace = "<i12"

These others filters remembered me how proxomitron works and search for active filters for each character.

Edited by - lnminente on 20 Aug 2002  02:33:43
 

TEggHead

  • Jr. Member
  • **
  • Posts: 93
    • ICQ Messenger - 21893433
    • AOL Instant Messenger -
    • Yahoo Instant Messenger - eljarec
    • View Profile
    • Email
images after HTML
« Reply #16 on: August 20, 2002, 10:23:38 AM »
Hya all,

Jor,
quote:

you need to cycle through the different image choices before the images appear.


what kind of feature is that? does Opera have built-in image replacements?

JD, I've been tryin to think of a solution, not having Opera I can't try it out however. Since it seems as if Opera does not dynamically resizes a container if it is assigned a new src, there's only really one way I think and that is using an intermediate image object to get at the dimensions.

I've modified the second filter a bit, can't tell if it'll work in Opera though

updated 20 Aug 2002  17:40:13

changed it as this introduced the same problem in IE5.5 and higher...


Name = "End: Load Delayed Images [JarC]"
Active = TRUE
Limit = 1
Match = "<end>"
Replace = "
 <SCRIPT LANGUAGE=JavaScript>"
          "
 docIMGs = document.images;"
          "
 var getsz = new Array();"
          "
 for (i = 0; i < docIMGs.length; i++) {"
          "
 getsz = new Image();"
          "
 if (docIMGs.PRXsrc+""!="undefined") {"
          "
 getsz.src = docIMGs.PRXsrc;"
          "
 docIMGs.src = docIMGs.PRXsrc;"
          "
 docIMGs.width = getsz.width;"
          "
 docIMGs.height = getsz.height;"
          "
 } } "
          "
 </SCRIPT>
"


Edited by - TEggHead on 20 Aug 2002  18:08:45
 

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
images after HTML
« Reply #17 on: August 20, 2002, 10:56:04 AM »
Opera has three image display options, which can be toggled by an address bar button, or by pressing the 'g' key. They are the following: -load all images, -load no images (display alt text), and -load only cached images.
Toggling this updates all images, so this filter works.

Since Opera6 has no full DOM support (and will not have, that's in the works for Opera7), you cannot dynamically resize or update page elements such as images.

I don't think there is a way to get this filter to work in Opera... a 'workaround'  for Opera users may be to browse with the cached image setting (load only cached images) as default, and then r-click on a wanted page, Frame -> Load all images, after the page has loaded.

 
 

JD5000

  • Full Member
  • ***
  • Posts: 241
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://home.satx.rr.com/jd5000/
    • Email
images after HTML
« Reply #18 on: August 20, 2002, 05:00:06 PM »
Hi TEggHead,

Thx for trying. However, like Jor said, this appears to be an Opera problem. Probably the same reason the ACR ad toggle doesn't work.

Again, thx for trying.

~JD

--------
Infopros Joint :: Computer Related Links And Discussion

TEggHead

  • Jr. Member
  • **
  • Posts: 93
    • ICQ Messenger - 21893433
    • AOL Instant Messenger -
    • Yahoo Instant Messenger - eljarec
    • View Profile
    • Email
images after HTML
« Reply #19 on: August 20, 2002, 05:15:11 PM »
quote:

Since Opera6 has no full DOM support (and will not have, that's in the works for Opera7), you cannot dynamically resize or update page elements such as images.


How does that affect rollovers? You mean that Opera is not capable of showing rollover effects as yet?


 
 

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
images after HTML
« Reply #20 on: August 20, 2002, 09:39:06 PM »
Most, if not all, of those mystery meat navigation menus work (I disable them all tho... I hate it when menues are obscured).

But sites like http://www.deviantart.com/ , which basically rewrite the entire page a few times after load, don't.

ALL properly written sites using HTML2, HTML3, HTML4.01, XHTML, CSS1, CSS2, and/or Javacript (ECMAScript 1.3) work -- but only a few of the sites heavily relying on DOM.
Rather than going the IE way, and patching code untill it collapses on itself from the bloat, Opera is rewriting the entire browser from scratch now, so I'll wait for v7. Fortunately the web at large is only now starting to adopt HTML4.01, so there is time, except for those few experimental sites.

Besides, a properly written site always allows for navigation fallbacks.

 
 

lnminente

  • Jr. Member
  • **
  • Posts: 73
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
images after HTML
« Reply #21 on: August 22, 2002, 03:43:54 PM »
Other suggestion:

What about Flash after HTML?

 
 

lnminente

  • Jr. Member
  • **
  • Posts: 73
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
images after HTML
« Reply #22 on: August 23, 2002, 06:18:30 PM »
I think this works, but i am not sure:

Name = "Visual: Delay Loading FLASH until Page Done"
Active = TRUE
Bounds = "<object*</object>"
Limit = 896
Match = "(*codebase=$AV(*flash*)*)1 SRC=$AV( 2 )3&(^*PRXsrc)"
Replace = "1 SRC="http://local.ptron/clear.gif" PRXsrc="2"3"

 
 

lnminente

  • Jr. Member
  • **
  • Posts: 73
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
images after HTML
« Reply #23 on: August 25, 2002, 02:10:32 PM »
Hi all.

I am not sure, but i think that the first version of "End: Load Delayed Images [JarC]" is better.

I have realized that with the second version, sometimes kills the images, but i am not sure. If someone think the same, post here please.

I am using Crazy browser, based on IE6.

Regards.



Edited by - lnminente on 25 Aug 2002  15:11:28
 

TEggHead

  • Jr. Member
  • **
  • Posts: 93
    • ICQ Messenger - 21893433
    • AOL Instant Messenger -
    • Yahoo Instant Messenger - eljarec
    • View Profile
    • Email
images after HTML
« Reply #24 on: August 25, 2002, 11:22:26 PM »
You're correct Inminente, the second and third modification was really only to see if it would make a change for other browsers. I myself also use the first version (tried in IE5.0, 5.5, 6.0)

It might still not always work if errors occuring before are preventing further script execution on a page although I haven't seen it happen yet...

JarC



 
 

lnminente

  • Jr. Member
  • **
  • Posts: 73
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
images after HTML
« Reply #25 on: August 26, 2002, 12:24:29 AM »
Hi.
I will use the first version then.
Many thanks TEggHead.