473,508 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My Very Strange Webhost, SBI! -- Opinions, Please


Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

....then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??

And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.
Jun 27 '08 #1
84 3453
On 2008-05-08, Prisoner at War <pr*************@yahoo.comwrote:
>
Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.
Doesn't onmouseover etc. have to be a script, not just the name of
another image?

I've never heard of this technique before and can't find it in the HTML
spec.
All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).
It's not like the JavaScript is running on their server, so it shouldn't
make any difference to them.
After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

...then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??
Yes. And if they're absolute, how are you supposed to know what the root
is?
And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.
I don't think things are supposed to be this difficult.
Jun 27 '08 #2
Prisoner at War wrote:
>
Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

...then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??

And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.
The onmouseover and onmouseout parameters of the tag needs to refer to
a JavaScript function, or even a small JavaScript contained inside the
parameter text, not a reference to an image location.

How to achieve such an effect is described, among other places, here:
http://www.hypergurl.com/rolloverimage.html

--
Kim André Akerø
- ki******@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Jun 27 '08 #3
On Thu, 8 May 2008 13:54:01 -0700 (PDT), Prisoner at War
<pr*************@yahoo.comwrote:
>
Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

...then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??

And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.
bleh.gif would never be parsed as a valid function. By any scripting
engine.

<img src="blah.png" onMouseOver="this.src='bleh.gif';"
onMouseOut="this.src='blah.png';"will work.

Yet the support is plain clueless. Dump'em. Find yourself a real
hosting service - or host it yourself, all you need is static ip from
your 'net provider. Even plain XP can support up to 80 concurrent
connections - enough for an amateur site. Need more? Get
Linux/Apache for free, or eMule WinServer2003 - Bill Gates surely will
not go broke without your license fee.

NNN
Jun 27 '08 #4
no****@nowhere.net wrote:
On Thu, 8 May 2008 13:54:01 -0700 (PDT), Prisoner at War
<pr*************@yahoo.comwrote:
>Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

...then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??

And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.

bleh.gif would never be parsed as a valid function. By any scripting
engine.

<img src="blah.png" onMouseOver="this.src='bleh.gif';"
onMouseOut="this.src='blah.png';"will work.

Yet the support is plain clueless. Dump'em. Find yourself a real
hosting service - or host it yourself, all you need is static ip from
your 'net provider. Even plain XP can support up to 80 concurrent
connections - enough for an amateur site. Need more? Get
Linux/Apache for free, or eMule WinServer2003 - Bill Gates surely will
not go broke without your license fee.

NNN
The hosting company's job is to keep servers running, not troubleshoot
our code. I would never expect a hosting company to be knowledgeable
about javascript or any other language.

And hosting it yourself is the worst thing you can do. What happens if
your phone line goes down? Your power goes out? Your server hangs
while you are at work - or worse yet, on vacation. Additionally, it may
be a violation of your ISP's TOS (and they may even have port 80 blocked
for incoming requests).

Plus you wouldn't get support for your javascript.

Hosting is a commodity. But don't expect the hosting company to do what
you're not paying for.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Jun 27 '08 #5
SAZ
In article <70e2516c-e4c7-455b-9cfe-ca3d4399c2f0
@k37g2000hsf.googlegroups.com>, pr*************@yahoo.com says...
>
Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

All file paths are correct; all image files have been uploaded; the
JavaScript itself, such as it is, is also correct.

That is to say, all very simple.

And still it doesn't work.

Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

After another three days of not receiving my files that they asked me
to send, which I did via Yahoo!, they took a whole week to investigate
the matter

This is what I was told, in relevant part:

The issue is with how the absolute and relative links are
used, and our programmers have said (and tested) that
if you...

1. Upload a dummy file with all the images referenced
separately, i.e. in separate <img src ="..."tags

2. Make all the links absolute before uploading

...then what you want to achieve will be successful on
the live page.
Can someone parse that for me, please? I don't understand what's
being asked of me, exactly.

Am I really being asked to use absolute path-names? Couldn't that
prove very messy down the road should I decide to move files/pages
around??

And, moreover, how am I supposed to use separate <imgtags for the
two image files that are to be used for an image-swap?? How would the
browser know to link the two in the manner of an image-swap if
"distributed" over separate <imgtags??

And is it perhaps somehow too much for me to expect my webpages to
upload "as is" -- or is it not unusual for a webhost to have
particular requirements about how such things need to be?? SBI! is my
first webhost so I really don't know what industry standards would be.
It's not uncommon for a Hosting Tech Dept to walk away from a script you
wrote, as it really isn't their problem - especially Javascript, which
is client-side. By responding at all, they were actually going above
and beyond what could reasonably be expected.
Jun 27 '08 #6
Ben C <sp******@spam.eggswrites:
On 2008-05-08, Prisoner at War <pr*************@yahoo.comwrote:
>>
Friends, your opinions and advice, please:

I have a very simple JavaScript image-swap which works on my end but
when uploaded to my host at http://buildit.sitesell.com/sunnyside.html
does not work.

To rule out all possible factors, I made up a dummy page for an
index.html to upload, along the lines of <html><head><title></title></
head><body></body></html>.; the image-swap itself is your basic <img
src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

Doesn't onmouseover etc. have to be a script, not just the name of
another image?
One could write a popup script that would scan the DOM in the domReady
event, and replace the image names with real event handler closures
that load the named images.

I'm doing a similar feature on a site I'm working on right now - I
include a script at the top of the page, and links that include a "rel"
attribute value are modified through the DOM to add an onClick event
that is handled by loading the target with AJAX and displaying it in a
popup div.

Since the pieces that make the page reliant on JavaScript are added by
a JavaScript event handler, on browsers that don't do JavaScript by
design or by user choice, the links will remain ordinary links. That
makes this technique a good way to build in a graceful fallback.

Perhaps Prisoner was using a script at one time that did this kind of
on the fly modification, and is now using one for which he needs to
insert a more traditional function call into the event attributes.
>Now I contacted their customer/tech support, and only after three days
with the third rep was it acknowledged that I had a problem which they
ought to look into (at first they did the usual tech support thing
and, upon seeing the keyword "JavaScript" immediately disavowed any
responsibility for my situation, as if I was calling about third-party
software or something like that).

It's not like the JavaScript is running on their server, so it shouldn't
make any difference to them.
This is a free hosting service, right? They could be inserting content,
like banner ads or something, in return for free hosting. I can well
imagine a banner ad with a mouseover script. And I can well imagine a
mouseover script being packaged this way. It needs JavaScript to
function anyway, so using JS to connect the event handlers is no
additional burden. It's certainly valid HTML. And it's a bit less
error prone; end users can use it who don't know a bit of JavaScript.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #7
Jerry Stuckle <js*******@attglobal.netwrites:
The hosting company's job is to keep servers running, not troubleshoot
our code. I would never expect a hosting company to be knowledgeable
about javascript or any other language.
I couldn't agree more!

Of course, having worked the phones in a "full service" hosting provider
that *did* offer that kind of support, in the full swing of the boom of
the 90s, I'm kind of biased on the subject. :-)
And hosting it yourself is the worst thing you can do. What happens
if your phone line goes down? Your power goes out? Your server hangs
while you are at work - or worse yet, on vacation.
That depends. If it's a hobby site, the answer to those questions may
well be, who cares. I can fix it when I get back, the line gets fixed,
or whatever. Baby pictures don't really need five nines uptime.
Additionally, it
may be a violation of your ISP's TOS (and they may even have port 80
blocked for incoming requests).
I'd be far more concerned with that aspect of it that the reliability.

Also, many ISPs offer web space to their customers, many of them for
free.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #8
no****@nowhere.net wrote:
On Thu, 8 May 2008 13:54:01 -0700 (PDT), Prisoner at War wrote:
<snip>
><img src="blah.png" onMouseOver="bleh.gif"
onMouseOut="blah.png">.
<snip>
bleh.gif would never be parsed as a valid function.
By any scripting engine.
<snip>

The values of intrinsic event attributes are not parsed as functions,
they are parsed as function bodies, and - bleh.gif - is a valid function
body. It is a single expression statement consisting of a dot notation
property accessor. Pointless, and unlikely to execute without error, but
still completely valid.

Richard.

Jun 27 '08 #9

Erratum:

I had neglected the "src" attribute in my post above (though not on
the actual webpage at issue)"

<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
Jun 27 '08 #10
On May 8, 8:33 pm, "nob...@nowhere.net" <mygarbage2...@hotmail.com>
wrote:
>

bleh.gif would never be parsed as a valid function. By any scripting
engine.
Remember, I'd reported that it works on my end perfectly.
<img src="blah.png" onMouseOver="this.src='bleh.gif';"
onMouseOut="this.src='blah.png';"will work.
Okay, sorry, I was dabbling in a bit of my own short-hand notation
there; the actual HTML/JavaScript used was

<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
Yet the support is plain clueless. Dump'em. Find yourself a real
hosting service - or host it yourself, all you need is static ip from
your 'net provider. Even plain XP can support up to 80 concurrent
connections - enough for an amateur site. Need more? Get
Linux/Apache for free, or eMule WinServer2003 - Bill Gates surely will
not go broke without your license fee.
Well, I do want to put a website before I delve into how to host one
myself -- if I'd ever even go that far, actually (it's interesting,
but I'd probably rather use the time to learn Photoshop or something,
you see).

Any webhosts you might recommend? For a newbie who's growing in
knowledge and ability, yet doesn't plan on progressing beyond some
"intermediate" level of expertise in general. I'm souring on SBI!
because of a number of reasons, this little image-swap weirdness being
one of them.
NNN
Jun 27 '08 #11
Prisoner at War <pr*************@yahoo.comwrites:
On May 8, 11:57 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
>>
One could write a popup script that would scan the DOM in the domReady
event, and replace the image names with real event handler closures
that load the named images.

I'm doing a similar feature on a site I'm working on right now

Interesting project you're attempting there
I didn't say "attempting," I said "doing." :-)

I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #12
On May 9, 12:36 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
>

I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.
Ah, um, didn't mean "attempting" in a literal sense.

So who's your webhost??
sherm--

--
My blog:http://shermspace.blogspot.com
Cocoa programming in Perl:http://camelbones.sourceforge.net
Jun 27 '08 #13
Prisoner at War <pr*************@yahoo.comwrites:
On May 9, 12:36 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
>>

I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.

Ah, um, didn't mean "attempting" in a literal sense.
Sorry, I misunderstood.
So who's your webhost??
I use DreamHost - $120/year, more space and transfer than any ten sites of
mine will need, and FastCGI support. The latter is a very nice feature if
your vocabulary includes the words Rails or Catalyst, and it's unusual to
find at that price.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #14
On Fri, 9 May 2008 07:21:01 -0700 (PDT), Prisoner at War
<pr*************@yahoo.comwrote:
>On May 8, 8:33 pm, "nob...@nowhere.net" <mygarbage2...@hotmail.com>
wrote:
>>

bleh.gif would never be parsed as a valid function. By any scripting
engine.

Remember, I'd reported that it works on my end perfectly.
><img src="blah.png" onMouseOver="this.src='bleh.gif';"
onMouseOut="this.src='blah.png';"will work.

Okay, sorry, I was dabbling in a bit of my own short-hand notation
there; the actual HTML/JavaScript used was

<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src ='pic2.gif;'"
onMouseOut="document.getElementById('image').src= 'pic1.gif;'" />
>Yet the support is plain clueless. Dump'em. Find yourself a real
hosting service - or host it yourself, all you need is static ip from
your 'net provider. Even plain XP can support up to 80 concurrent
connections - enough for an amateur site. Need more? Get
Linux/Apache for free, or eMule WinServer2003 - Bill Gates surely will
not go broke without your license fee.

Well, I do want to put a website before I delve into how to host one
myself -- if I'd ever even go that far, actually (it's interesting,
but I'd probably rather use the time to learn Photoshop or something,
you see).

Any webhosts you might recommend? For a newbie who's growing in
knowledge and ability, yet doesn't plan on progressing beyond some
"intermediate" level of expertise in general. I'm souring on SBI!
because of a number of reasons, this little image-swap weirdness being
one of them.
Dunno... The sites I worked on are mostly hosted on corporate
intranets. The only one open to Internet was also hosted by a big
corp - that was their online ordering system. And I still have not
found time to put together my own private site.

NNN

Jun 27 '08 #15
On Fri, 9 May 2008 22:00:25 -0700 (PDT), Prisoner at War put finger to
keyboard and typed:
>On May 9, 5:41 pm, SAZ <saz1...@nospamexcite.comwrote:
>>

The vast majority of these sites are over 500,000 in Alexa. Frankly,
I'm shocked they're even advertising these numbers and actimg like it's
something special.

Huh? I'm talking about http://results.sitesell.com/sunnyside.html --
like half are *under* 500K Alexa...now my sense is that you can't make
much money until you're 100K Alexa (and no "financial independence"
without ranking below ~45K).
That may be true if your only income is from advertising, although it
depends on what you mean by "much money" - I've helped create an
ad-supported website which is currently ranked around 500,000 by Alexa
and generates around $250 a month in Google Adsense earnings. That's
not a huge amount, but it covers the costs of hosting it with plenty
to spare and it's a useful second income for the owner (who isn't me,
by the way; this isn't one of my sites that I've mentioned in other
posts to this group).

It's certainly not true if you're selling an actual product or
service. I've worked on a site which has an Alexa ranking in the
300,000 range that earns enough to support several full-time employees
and a bunch of contractors.

Mark
--
Miscellaneous remarks at http://Mark.Goodge.co.uk
"Look at the stars; look how they shine for you"
Jun 27 '08 #16
Sherman Pendley wrote:
Prisoner at War <pr*************@yahoo.comwrites:
>On May 9, 12:36 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
>>I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.
Ah, um, didn't mean "attempting" in a literal sense.

Sorry, I misunderstood.
>So who's your webhost??

I use DreamHost - $120/year, more space and transfer than any ten sites of
mine will need, and FastCGI support. The latter is a very nice feature if
your vocabulary includes the words Rails or Catalyst, and it's unusual to
find at that price.
You are *off-topic* in comp.lang.javascript and
comp.infosystems.www.authoring.html. Will you please
stop this mindless crossposting without Followup-To.
F'up2 misc.consumers

PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Jun 27 '08 #17
Mark Goodge wrote:
On Fri, 9 May 2008 22:00:25 -0700 (PDT), Prisoner at War put finger to
keyboard and typed:
>On May 9, 5:41 pm, SAZ <saz1...@nospamexcite.comwrote:
>>The vast majority of these sites are over 500,000 in Alexa. Frankly,
I'm shocked they're even advertising these numbers and actimg like it's
something special.
Huh? I'm talking about http://results.sitesell.com/sunnyside.html --
like half are *under* 500K Alexa...now my sense is that you can't make
much money until you're 100K Alexa (and no "financial independence"
without ranking below ~45K).

That may be true if your only income is from advertising, although it
depends on what you mean by "much money" - I've helped create an
ad-supported website which is currently ranked around 500,000 by Alexa
and generates around $250 a month in Google Adsense earnings. That's
not a huge amount, but it covers the costs of hosting it with plenty
to spare and it's a useful second income for the owner (who isn't me,
by the way; this isn't one of my sites that I've mentioned in other
posts to this group).

It's certainly not true if you're selling an actual product or
service. I've worked on a site which has an Alexa ranking in the
300,000 range that earns enough to support several full-time employees
and a bunch of contractors.
This has nothing to do with ECMAScript implementations or HTML. Go away.
F'up2 misc.consumers

PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Jun 27 '08 #18
Thomas 'PointedEars' Lahn <Po*********@web.dewrites:
Sherman Pendley wrote:
>Prisoner at War <pr*************@yahoo.comwrites:
>>On May 9, 12:36 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.
Ah, um, didn't mean "attempting" in a literal sense.

Sorry, I misunderstood.
>>So who's your webhost??

I use DreamHost - $120/year, more space and transfer than any ten sites of
mine will need, and FastCGI support. The latter is a very nice feature if
your vocabulary includes the words Rails or Catalyst, and it's unusual to
find at that price.

You are *off-topic* in comp.lang.javascript and
comp.infosystems.www.authoring.html. Will you please
stop this mindless crossposting without Followup-To.
If you'd asked nicely, I might have.
F'up2 misc.consumers
Stuff it. I know how to operate my news reader.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #19
Sherman Pendley wrote:
Thomas 'PointedEars' Lahn <Po*********@web.dewrites:
>Sherman Pendley wrote:
>>Prisoner at War <pr*************@yahoo.comwrites:
On May 9, 12:36 pm, Sherman Pendley <spamt...@dot-app.orgwrote:
I'm not trying to be snooty or anything, I understand that what I'm
talking about here would be hard for a newbie. I'm just saying, I'm not
a newbie, nor am I describing something I mean to attempt and hope will
work - I'm talking from experience about a working site.
Ah, um, didn't mean "attempting" in a literal sense.
Sorry, I misunderstood.

So who's your webhost??
I use DreamHost - $120/year, more space and transfer than any ten sites of
mine will need, and FastCGI support. The latter is a very nice feature if
your vocabulary includes the words Rails or Catalyst, and it's unusual to
find at that price.
You are *off-topic* in comp.lang.javascript and
comp.infosystems.www.authoring.html. Will you please
stop this mindless crossposting without Followup-To.

If you'd asked nicely, I might have.
No, you wouldn't. For I asked nicely already, and you did not.
>F'up2 misc.consumers

Stuff it. I know how to operate my news reader.
So much for your capabilities regarding courtesy towards other people.
Score adjusted, F'up2 poster

PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Jun 27 '08 #20
Thomas 'PointedEars' Lahn <Po*********@web.dewrites:
No, you wouldn't. For I asked nicely already, and you did not.
Calling someone "mindless" is not nice.
Score adjusted, F'up2 poster
Would you like some cheese with that whine?

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #21
On May 11, 2:49 am, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:
>

You only need to read back through the older posts from this and other
NG's to get an idea of some of the larger hosts.
Yeah, but nothing like timely information! Perhaps policies have
since changed, etc. -- I myself was all bullish on SBI! only last
month, but then a series of weird incidents like this little image-
swap mystery has given me an "awkward feeling" towards them....
Mind you ServerGrade
only do support by email so you may or may not like that. I don't mind
that as it is easier then getting support on the phone.
I prefer e-mail since everything's in writing and I can't be accused
of miscommunication -- though, of course, communication is a two-way
street, and if someone just isn't paying attention then it doesn't
even matter much that I put things in writing; they will still
misinterpret it!
I also have a
reasonable grounding on what I need to do to get a site set-up so I
like having my site always online.
Also ServerGrade linit the amount of sites on their servers, my server
has 34 sites on it. Other hosts such as Yahoo place up to 300 or more
sites on the one server.
Yeah, looks like I'm going to have to google up some how-to-choose-a-
webhost guides...in the meantime, please continue to share any new
thoughts you may have on the matter. I was hoping to learn with SBI!
but it's turning out to be like having to drop a college course 'cause
the professor has a strange and possibly unhelpful pedagogy and
instead of learning I'm dealing with weird minutiae....
--
Regards Chad.http://freewebdesignonline.org

Jun 27 '08 #22
In article <m1************@dot-app.org>,
Sherman Pendley <sp******@dot-app.orgwrote:
>
Hate to say it, but - spend some money. What you need is just plain old
advertising, not search engine tweaks. The job of the search engines is
simply to ensure that someone who knows your brand (a unique keyword)
can easily find information about it (your site). Getting the word out
about your brand isn't a search engine's job.

I would advise talking to the other end of Google, and buying some Adwords.
That's where you'll want to use broad terms - Adwords uses the same key-
word database, and they'll put your ads on sites that match the keywords
you supply, so more generic terms will reach more people.
A friend of mine has told me that his website hits and sales go up in
direct proportion to the amount of he spends at Google.

--
dorayme
Jun 27 '08 #23
On May 11, 6:32 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
>

A friend of mine has told me that his website hits and sales go up in
direct proportion to the amount of he spends at Google.
Hmmm, you wouldn't suppose that "saintly" google somehow favors its
clients, would you?? Many on the SBI! private forums have reported
being indexed by google almost right away once they signed on with
google Adsense.
--
dorayme
Jun 27 '08 #24
In article
<6f**********************************@25g2000hsx.g ooglegroups.com>,
Prisoner at War <pr*************@yahoo.comwrote:
On May 11, 6:32 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:


A friend of mine has told me that his website hits and sales go up in
direct proportion to the amount of he spends at Google.

Hmmm, you wouldn't suppose that "saintly" google somehow favors its
clients, would you?? Many on the SBI! private forums have reported
being indexed by google almost right away once they signed on with
google Adsense.
Know nothing about it, I just relay what I was told by a very successful
businessman who maintains his own website (Joomla based and boy o boy
does it break at larger font-sizes... sssshhhh! I know, it is not
Joomla's fault.)

Me, I just like to make client websites with good and truthful content,
clear words and leave it to the gods... but I suppose I should look to
this ranking business more...

One severe character here could not fathom it when I suggested once that
not all websites are in this race, that great bookmarking and search
engine findability are not everyone's priorities.

--
dorayme
Jun 27 '08 #25


Prisoner at War wrote:
On May 11, 2:49 am, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:


You only need to read back through the older posts from this and other
NG's to get an idea of some of the larger hosts.

Yeah, but nothing like timely information! Perhaps policies have
since changed, etc. -- I myself was all bullish on SBI! only last
month, but then a series of weird incidents like this little image-
swap mystery has given me an "awkward feeling" towards them....
Mind you ServerGrade
only do support by email so you may or may not like that. I don't mind
that as it is easier then getting support on the phone.

I prefer e-mail since everything's in writing and I can't be accused
of miscommunication -- though, of course, communication is a two-way
street, and if someone just isn't paying attention then it doesn't
even matter much that I put things in writing; they will still
misinterpret it!
I also have a
reasonable grounding on what I need to do to get a site set-up so I
like having my site always online.
Also ServerGrade linit the amount of sites on their servers, my server
has 34 sites on it. Other hosts such as Yahoo place up to 300 or more
sites on the one server.

Yeah, looks like I'm going to have to google up some how-to-choose-a-
webhost guides...in the meantime, please continue to share any new
thoughts you may have on the matter. I was hoping to learn with SBI!
but it's turning out to be like having to drop a college course 'cause
the professor has a strange and possibly unhelpful pedagogy and
instead of learning I'm dealing with weird minutiae....
Well as for ServerGrade. Just try them out. Have a look through the
site if you have not done so already though.
But as for learning you might not be able to learn much from the web
host because as Jerry said it is not the Job of the host to teach you
this stuff. You need to learn from sites such as http://www.htmldog.com
or even better buy a book.
But you can also read the large amount of stuff the is on sites such
as http://www.webpagesthatsuck.com
--
Regards Chad. http://freewebdesignonline.org
Jun 27 '08 #26
On 9 May, 15:47, Prisoner at War <prisoner_at_...@yahoo.comwrote:
This is one aspect of human nature I'm afraid I shall never
understand. I say "A" and even go on to specifically say that I'm not
saying "B" and still people will say that I'm saying "B"!! =(
It's because you're saying B, and you only _think_ that you're saying
A

Ditch this hosting company. Although do it gracefully, because they
even talked to you about an issue that no hosting company with any
sense would even answer the phone over - _YOUR_ script bugs.

Secondly, find a basic HTML tutorial ("Head First HTML with CSS &
XHTML", as a recommendation), or else contract out the development
work. I doubt you can afford to waste "three days" or whatever over
simple beginner's errors like this one.
Jun 27 '08 #27
On May 12, 4:23 am, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:
>

Well as for ServerGrade. Just try them out. Have a look through the
site if you have not done so already though.
But as for learning you might not be able to learn much from the web
host because as Jerry said it is not the Job of the host to teach you
this stuff.
Jerry has no idea what he's talking about. I wasn't asking for help
with JavaScript; I was asking why they didn't seem to support
JavaScript since the code worked on my end but not on theirs. Big
difference, but for some reason the distinction remains lost on him.

As for my "learning with SBI!" comment, learning indeed is what SBI!
purports to do; as a matter of fact, one of their sales pages lists
colleges and universities using them for e-commerce instruction,
fairly famous places like the University of Arizona and even The
Citadel!
You need to learn from sites such ashttp://www.htmldog.com
or even better buy a book.
But you can also read the large amount of stuff the is on sites such
ashttp://www.webpagesthatsuck.com
LOL, yeah, I came across that last one! But thanks for the refs; yes,
I was hoping that SBI! would be a "centralized place" where I could
learn this stuff (not necessarily "all" of it but a lot, certainly --
and I suppose I have, though I should have liked more), but it looks
like it's back to just googling the web and tickling the library
books!
--
Regards Chad.http://freewebdesignonline.org
Jun 27 '08 #28
Prisoner at War wrote:
On May 12, 4:23 am, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:
>>
Well as for ServerGrade. Just try them out. Have a look through the
site if you have not done so already though.
But as for learning you might not be able to learn much from the web
host because as Jerry said it is not the Job of the host to teach you
this stuff.

Jerry has no idea what he's talking about. I wasn't asking for help
with JavaScript; I was asking why they didn't seem to support
JavaScript since the code worked on my end but not on theirs. Big
difference, but for some reason the distinction remains lost on him.
If it is client-side JavaScript the webserver has nothing to do with it,
other than properly server the content type for external JS files.
Client-side JavaScript is processed within the browser. Your JavaScript
problems have nothing to do with your hosting company.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #29
On May 12, 11:53 am, Andy Dingley <ding...@codesmiths.comwrote:
>

It's because you're saying B, and you only _think_ that you're saying
A
Well, how was I saying "A," then?

From the get-go I've said that my code works perfectly on my end. Yet
it doesn't on theirs. Is it asking them for "programming help" if
perfect programming doesn't work with them? Or is it not, as I keep
saying, simply asking them why they don't support standard code?

And as it turns out, they say the issue is having to use an absolute
path name when attempting an image-swap. That's got nothing to do
with "programming" at all. For some reason, their CMS just won't
accept relative file paths when an image-swap is involved.

Now that's a figgin' **B*U*G** but human nature loves to blame the
victim and so there's the tendency to blame my "programming" -- even
though it's got nothing to do with programming, but simply how their
CMS sees files!
Ditch this hosting company. Although do it gracefully, because they
even talked to you about an issue that no hosting company with any
sense would even answer the phone over - _YOUR_ script bugs.
Repeating a lie doesn't make it true -- though, yes, it's worked for
Goebbels and Stalin and Madison Avenue.

Now where's my script bugs, please? No one's pointed it out in all
this time. It's another curious property of human nature that people
should be so eager to cast blame but cannot be bothered to point out
what the alleged error is supposed to be.
Secondly, find a basic HTML tutorial ("Head First HTML with CSS &
XHTML", as a recommendation),
Already got it! Very nice book, I really dig it -- though curiously
it's in color whereas the later-issued "Head First JavaScript"
isn't....
or else contract out the development
work. I doubt you can afford to waste "three days" or whatever over
simple beginner's errors like this one.
Yeah, and what was that "simple beginner's error," exactly?

Why do you people keep saying there's an error and yet can't be
bothered to point it out??

Jun 27 '08 #30
On Mon, 12 May 2008 13:23:27 -0700 (PDT), Prisoner at War
<pr*************@yahoo.comwrote:
>Yeah, and what was that "simple beginner's error," exactly?
<img src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

You're confusing URI resources like src with JavaScript(sic) event
handlers like onmouseover & onmouseout
Jun 27 '08 #31
On May 12, 6:34 pm, Andy Dingley <ding...@codesmiths.comwrote:
On Mon, 12 May 2008 13:23:27 -0700 (PDT), Prisoner at War

<prisoner_at_...@yahoo.comwrote:
Yeah, and what was that "simple beginner's error," exactly?

<img src="blah.png" onMouseOver="bleh.gif" onMouseOut="blah.png">.

You're confusing URI resources like src with JavaScript(sic) event
handlers like onmouseover & onmouseout
Yes, I'm sorry I'm not more articulate with the technical terms
involved...but that's not what caused the image-swap to not work when
their server served it to my web browser, even though the same exact
code does work when my hard drive serves it to the same web browser.

It turns out that they needed an absolute file path for the first src
attribute for some reason ("it's just how SBI! works" -- even though
it took them two weeks to find that out for themselves!)...oddly
enough, the other src attributes can remain in relative format.

Looking forward, I guess this is a good lesson in itself, too; to ask
of my next webhost very detailed questions about what they can do and
how they would do it...all along I'm just assuming that what works on
my end should seamless work on theirs (that is, no distinction between
being sent up by my hard drive or by their server, save for speed due
to internet connections)....
Jun 27 '08 #32


Prisoner at War wrote:
On May 12, 4:23 am, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:


Well as for ServerGrade. Just try them out. Have a look through the
site if you have not done so already though.
But as for learning you might not be able to learn much from the web
host because as Jerry said it is not the Job of the host to teach you
this stuff.

Jerry has no idea what he's talking about. I wasn't asking for help
with JavaScript; I was asking why they didn't seem to support
JavaScript since the code worked on my end but not on theirs. Big
difference, but for some reason the distinction remains lost on him.
But you don't even understand baysic things like how to size images
properly for the web which is baysic stuff.
>
As for my "learning with SBI!" comment, learning indeed is what SBI!
purports to do; as a matter of fact, one of their sales pages lists
colleges and universities using them for e-commerce instruction,
fairly famous places like the University of Arizona and even The
Citadel!
You need to learn from sites such ashttp://www.htmldog.com
or even better buy a book.
But you can also read the large amount of stuff the is on sites such
ashttp://www.webpagesthatsuck.com

LOL, yeah, I came across that last one! But thanks for the refs; yes,
I was hoping that SBI! would be a "centralized place" where I could
learn this stuff (not necessarily "all" of it but a lot, certainly --
and I suppose I have, though I should have liked more), but it looks
like it's back to just googling the web and tickling the library
books!
--
Regards Chad. http://freewebdesignonline.org
Jun 27 '08 #33
This whole thread is either somebody's desire to waste developer's
time, or an attempt to discredit the host. This lil tangent has gone
too far. I thought this was a group devoted to JavaScript.
Jun 27 '08 #34
"shawn" <ja*********@gmail.comwrote in message
news:96**********************************@m3g2000h sc.googlegroups.com...
This whole thread is either somebody's desire to waste developer's
time, or an attempt to discredit the host. This lil tangent has gone
too far. I thought this was a group devoted to JavaScript.
Which group do you mean?

You have posted to FIVE groups.
--

Andrew

UK Residents:
STOP THE "10p Tax Ripoff"
Sign the petition to stop the government stealing from the
very poorest tell your friends about this petition:
http://petitions.pm.gov.uk/10penceband/
Jun 27 '08 #35
On May 10, 1:02 am, Prisoner at War <prisoner_at_...@yahoo.comwrote:
>
...but actually, here's the
complete webpage I'm talking about, right here, in under 10 lines of
ASCII:

<html>
<head>
<title>test page</title>
</head>
<body>
<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
</body>
</html>


Not sure if you have resolved this, but I initially saw that you are
missing a double-quote...

This... src=pic1.gif"
.... should be this... src="pic1.gif"
Jun 27 '08 #36
On May 13, 4:45 pm, Disco Octopus <di...@discooctopus.comwrote:
On May 10, 1:02 am, Prisoner at War <prisoner_at_...@yahoo.comwrote:


...but actually, here's the
complete webpage I'm talking about, right here, in under 10 lines of
ASCII:
<html>
<head>
<title>test page</title>
</head>
<body>
<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
</body>
</html>

Not sure if you have resolved this, but I initially saw that you are
missing a double-quote...

This... src=pic1.gif"
... should be this... src="pic1.gif"
.... and...

you file name for the images end with a ";" when they shouldn't.

....this...
<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
....should be this...

<img name="image" id="image" src="pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif'"
onMouseOut="document.getElementById('image').src=' pic1.gif'" />

Jun 27 '08 #37
On 12 May, 21:33, Prisoner at War <prisoner_at_...@yahoo.comwrote:
Please explain.
The simplest explanation, and this is backed up by long empirical
studies conducted by _anyone_ who has supported users, is that what
you're describing to us doesn't bear too much relation to the actual
reality. That's the first lesson of supporting users, and just one
reason why you don't touch such issues with a bargepole unless you can
get your _own_ hands on the same code, in the same context.

In your last reply to me you claimed that setting an onmouseover event
to a URL for an image somehow "works", so long as it's on your
machine, or it's on the host's (and uses an absolute path). Despite
this clearly _not_ being what your example does. Now if this _is_
true, that's news to the W3C: this stuff just doesn't work quite that
way. So my only conclusion has to be that there's some vagueness
creeping in between the code that's failing to work, and the code
you're reporting to us for diagnosis. No one is "wrong" here, it's
just like trying to work at too long range, wearing thick gloves and
dark glasses.

This is also why most posters here insist on URLs, rather than posted
fragments.
Jun 27 '08 #38
On 12 May, 20:27, Prisoner at War <prisoner_at_...@yahoo.comwrote:
Hey, I've enjoyed "Dot Com" and "E-Dreams"
And on the web -- this much I've learned from SBI!
Wasn't it something like "Cronin's 14th Law of Dotcom" that you should
never trust a dot-com company that uses exclamation marks in their
company name?
Jun 27 '08 #39
shawn wrote:
This whole thread is either somebody's desire to waste developer's
time, or an attempt to discredit the host. This lil tangent has gone
too far. I thought this was a group devoted to JavaScript.
Yea, unfortunately, the idiot crossposted to a bunch of other irrelevant
newsgroups.

With everything else in the thread - enough said.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Jun 27 '08 #40
On May 13, 1:45 am, Disco Octopus <di...@discooctopus.comwrote:
>

Not sure if you have resolved this, but I initially saw that you are
missing a double-quote...

This... src=pic1.gif"
... should be this... src="pic1.gif"

Thanks very much; yes, I made typos there in my post but the actual
code that had been used was perfectly fine; it turns out that my
webhost's CMS has a bug that requires the first src attribute to be in
absolute file path name format -- but only when involved in an image-
swap! All other src attributes, including the others involved in an
image-swap, may bear relative paths.

I'm most likely going to cancel my subscription...little oddities like
this are annoying (it's taken two weeks to diagnose this) and make me
wonder what else might lay in wait!
Jun 27 '08 #41
On May 13, 1:56 am, Disco Octopus <di...@discooctopus.comwrote:
>

... and...

you file name for the images end with a ";" when they shouldn't.

...this...
<img name="image" id="image" src=pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif;'"
onMouseOut="document.getElementById('image').src=' pic1.gif;'" />
...should be this...

<img name="image" id="image" src="pic1.gif"
onMouseOver="document.getElementById('image').src= 'pic2.gif'"
onMouseOut="document.getElementById('image').src=' pic1.gif'" />
Actually, I believe the semi-colon to be proper, though possibly
unnecessary, syntax (anyone else know?)...what was a typo on my part,
though, was writing

src='pic2.gif;'"

when it should be

src='pic2.gif';"

with the semi-colon in-between the single-quote and the double-quote.

However, that was just a typo in my post to this thread, not the
actual code that had been uploaded to my webhost (I was recreating the
code from memory and slipped over the keyboard.)

It turns out now that SBI! has a bug in their CMS which requires the
first src attribute of an <imgtag involved in an image-swap to use
the absolute file path name format, while everything else can remain
relative.
Jun 27 '08 #42
On May 13, 10:41 am, "Jonathan N. Little" <lws4...@central.netwrote:
>

Correct, the ';' can go at the *end* of a JavaScript statement so

onMouseOver="document.getElementById('image').src= 'pic2.gif';"

would also be valid. NOTE location of ';' but as I mentioned elsewhere
in the thread, very clumsy to use whole JavaScript statements inline,
better to create a function AND preload the images.
Yes, yes -- that bit of code was just to simplify things for tech
support to diagnose (instead of them having to check out whether it
was all the other JavaScript screwing things up). The issue turned
out to be a bug in their CMS which just didn't see the first src
attribute in an <imgtag involved in image-swaps.

Weird!!! And I'm quitting SBI! over what seems a small thing because
I don't know what other "small things" might pop up in the future
taking two weeks to resolve.
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Jun 27 '08 #43
On May 13, 9:22 am, Andy Dingley <ding...@codesmiths.comwrote:
>

You know what that's caused by? Case issues in filenames. Sometimes "
" space characters in filenames not being encoded correctly in URLs
(although browsers usually compensate for that).

Your desktop is almost certainly Windows (case-insensitive filenames).
Your web server filesystem is almost certainly Unix (case-sensitive
filenames). Your web server is probably (unless they deliberately
change this) also case-sensitive in URLs.

So when you test with a local filename that has the wrong case, your
Windows system doesn't care and it all works.

You upload this to the server (now case-sensitive) and it fails.
Huh? Sorry, but case-sensitivity does not appear to be the issue
here. It's an interesting point you raise, which I note for my future
reference, thank you kindly, but I don't see how it applies to my
situation, since my file names are all lower-case, as was every
reference to them in my src attributes...and besides, surely a webhost
should have provided for such matters anyway.
You talk to tech support, and you both talk yourself into this cargo-
cult
LOL -- SBI! as a cargo-cult! It's more true than not, yes...I was
actually thinking of that Heaven's Gate cult of suicidal UFO-believing
website designers from the '90s....
>that it's using an absolute path that's the trick. You get this
absolute path by browsing to the directory with the files in (through
the web server), seeing a list of file URLs (generated by the server,
so the case is correct) and you then copy and paste one of these.
????
Two things have happened: you've switched from relative to absolute
(obvious, but unimportant) and you've also corrected the case of the
filename in the URL (easily ignored but crucial). _That's_ why "it
started working when you went to absolute paths".
I apologize, Andy, but I know nothing about servers, so I'm not able
to place your remarks in a useful context vis-a-vis my situation...if
you don't mind, would you please do a step-by-step "chronology" of the
chain of events? I honestly don't know how to "parse" your
statements; I don't know how servers work and it sounds like you're
referring to how they work....
Jun 27 '08 #44
On May 12, 11:41 pm, "Jonathan N. Little" <lws4...@central.netwrote:
>

No, but you have to have your relative paths correct...
Look, look at this: http://ego-management.org/test.html -- look at the
HTML/JavaScript.

Notice that my image-swap now works?

The **only** thing that's different now from when it didn't work is
that the first src attribute in the <imgtag has an absolute file
path name.

It's got nothing to do with whether my path names were correct -- they
were; they just were in relative format, whereas due to a bug in their
CMS they need the first one to be in absolute format when used as an
image-swap.
<snipped signature YOU SHOULD BE DOING THIS >
Huh?
Okay are you sure the uploaded images are not corrupted? Upload as ASCII
and not BINARY can do it. In a different path. Case error on filename, a
common Windows user error. On local Windows drive example.jpg,
ExAmPlE.JpG and example.JPG are all the same, but no on a live
webserver.
No, none of that was the reason. It was "simply" their CMS not seeing
the first src attribute unless that first src attribute was in
absolute file path format.
If the images are of significant size and a slow connection
or server you may not see the change when to crudely place the image
load in a onMouseOver onMouseOut attribute, Far better to preload. Let
me see, been a while since I have fiddle with JavaScript image swaps
I took out preloading, timed animation, cursor graphics changes, etc.,
because I wanted to help clarify the issue for tech support. That's
why http://ego-management.org/test.html is called "test," and why it's
a very simple <html><head><title></title></head><body><img /></body></
htmlaffair.
<script type="text/javascript">

var pix as new Object;

pix['imageID1']=new Array;
pix['imageID1'][0]=new Image;
pix['imageID1'][0].src='someimageoff.gif';
pix['imageID1'][1]=new Image;
pix['imageID1'][1].src='someimageon.gif';
// next image
pix['imageID2']=new Array;
pix['imageID2'][0]=new Image;
...

function swap(id,state){
var target=document.getElementById(id);
target.src=pix[id][state].src;}

</script>

In HTML:

<img id="imageID1" src="someimageoff.gif' alt="the target image">

...

<some_element onmouseover="swap('imageID1',1);"
onmouseout="swap('imageID1',0);" ... >
Uh...thanks, but that would certainly have confused tech support.
Remember that they (and even you people!) kept thinking I was asking
for programming help!

I'm not.

I'm asking why a program that works from off my hard drive doesn't
work from off their server.

But for some reason when people see code they just assume the problem
is due to the code -- as opposed to however the CMS or whatever is
parsing that code.

It turns out that their CMS has a bug which causes it to ignore the
first src attribute of an image-swap, thus killing the image-swap,
unless that src attribute is in absolute file path name format.

And that's just the final straw for me.

I don't want to maybe spend more time figuring out any other strange
little things particular to them, later on.

I'm still almost sorry to have to cancel them, as they are good in
other ways, but as a webhost...nahh, just too much one thing after
another (unless you just turn off your brain and use their cookie-
cutter webpage maker widget).
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Jun 27 '08 #45
On May 13, 6:32 am, Andy Dingley <ding...@codesmiths.comwrote:
>

The simplest explanation, and this is backed up by long empirical
studies conducted by _anyone_ who has supported users, is that what
you're describing to us doesn't bear too much relation to the actual
reality. That's the first lesson of supporting users, and just one
reason why you don't touch such issues with a bargepole unless you can
get your _own_ hands on the same code, in the same context.
IOW, the so-called "availability heuristic" -- assessing the
individual situation at hand based on the examples that come most
readily to mind.

Stereotyping, in short. The pre-conceptions you've brought made you
see things that weren't there. Just like how the SBI! CMS has certain
"pre-conceptions" programmed into it that made it not see things that
*are* there.

Why their CMS needs to see absolute file paths is strange -- but
stranger still is why it's only the first src that needs it; moreover,
only in the case of an image-swap -- everything else in standard
relative path format works!

For $300 a year, this is just too silly for me to deal with,
especially since it's taken two weeks to diagnose. What next? No
blue text in a <h3>??
In your last reply to me you claimed that setting an onmouseover event
to a URL for an image somehow "works", so long as it's on your
machine, or it's on the host's (and uses an absolute path). Despite
this clearly _not_ being what your example does.
Uhhh...I guess we're stumbling over semantics, then.

Look at the code for http://www.ego-management.org/test.html and tell
me what is wrong with it. I don't mean from a "good practices" POV;
merely what would cause it to not work.

It works, doesn't it?

Yet the ***only*** thing that's different from what hadn't worked
before was that the first src attribute of the <imgtag was in
relative file path format -- like the other src attributes still are,
incidentally.

What's your explanation for that? Why does the same exact code work
now, only with an absolute file path -- and only on that first src
attribute?
Now if this _is_
true, that's news to the W3C: this stuff just doesn't work quite that
way. So my only conclusion has to be that there's some vagueness
creeping in between the code that's failing to work, and the code
you're reporting to us for diagnosis. No one is "wrong" here, it's
just like trying to work at too long range, wearing thick gloves and
dark glasses.
What I was aghast over was people's attitude that the issue was not
something my webhost had a responsibility to resolve -- their own
attitude initially, too -- despite my repeated declarations that the
situation is not about programming help for invalid code, but why
valid code (strict W3C "good practices" aside) should work off my hard
drive but not off their servers.
This is also why most posters here insist on URLs, rather than posted
fragments.
I've given a URL: http://ego-management.org/test.html -- see how it's
as simple as I've said all along, isn't it: notice how the first src
attribute is in absolute file path format, but not the others?

That URL wasn't working until that one change was made -- that's all;
just that one little thing.

Sorry, SBI! -- I'd loved you, but you just keep getting more and more
weird on me!
Jun 27 '08 #46
On May 12, 10:07 pm, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:
>

But you don't even understand baysic things like how to size images
properly for the web which is baysic stuff.
Huh???

Wow, what a nit-picking non sequitur...should I point out your poor
spelling as a reason to discount what you have to say??

And just what is it you have to say? How have you added to the
conversation??

It's precisely because I do not know that I've come to ask for advice.

If you have something relevant to the matter at hand, please share it.
Jun 27 '08 #47
On May 12, 10:32 pm, shawn <javaforh...@gmail.comwrote:
This whole thread is either somebody's desire to waste developer's
time, or an attempt to discredit the host. This lil tangent has gone
too far. I thought this was a group devoted to JavaScript.

I posted to CLJ originally because my situation seemed to involve
JavaScript -- at least that's what the webhost was initially saying,
that it was my invalid code and not something the matter with how they
host websites. So I posted to CLP to see if someone might find that
there was indeed something the matter with my code.

Turns out it's something to do with their CMS. That it's taken two
weeks for them to determine that is but another fact speaking for
itself. If my review of the webhost is negative, it is due to the
accumulation of such facts.

Jun 27 '08 #48
On May 12, 10:41 pm, "Andrew Heenan" <andr...@heenan.netwrote:
>

Which group do you mean?

You have posted to FIVE groups.
=)

Look, everyone, I'm sorry that it seems my thread and the problem it
documents is taking up some much bandwidth (or whatever) -- I was
hoping to solicit a wide range of opinions, as well as establish a
"public record" where it would seem relevant to do so. Please
consider all this as just a public-service kind of consumer advisory.
--

Andrew

UK Residents:
STOP THE "10p Tax Ripoff"
Sign the petition to stop the government stealing from the
very poorest tell your friends about this petition:http://petitions.pm.gov.uk/10penceband/
Jun 27 '08 #49


Prisoner at War wrote:
On May 12, 10:07 pm, Chaddy2222 <spamlovermailbox-
sicur...@yahoo.com.auwrote:


But you don't even understand baysic things like how to size images
properly for the web which is baysic stuff.

Huh???

Wow, what a nit-picking non sequitur...should I point out your poor
spelling as a reason to discount what you have to say??

And just what is it you have to say? How have you added to the
conversation??

It's precisely because I do not know that I've come to ask for advice.
Yep, I do understand that. Mind you I think what I am trying to say is
that you should do a bit more reading on baysic web design issues.
Such as not adding things to your pages that do not need to be there.
Mind you it is all a learning thing and with the way that the web is
changeing all the time it can be hard to stay on top of things. But
the simple stuff does not change that much.
--
Regards Chad. http://freewebdesignonline.org
Jun 27 '08 #50

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1795
by: Arthur | last post by:
I've come across some strange xml, that I need to deal with, it looks like this:- <root> <foo attr="1">Some random strange text. <bar attr="2">blar</bar> <bar attr="3">blar blar</bar> <bar...
2
1949
by: Paul Drummond | last post by:
Hi all, I am developing software for Linux Redhat9 and I have noticed some very strange behaviour when throwing exceptions within a shared library. All our exceptions are derived from...
3
1589
by: Nick | last post by:
hi, all I just started to create my own website and I registered a new domain from yahoo, and then I want to register a webhost plan. And how to use this domain I registered? What I undertood...
1
1218
by: syska | last post by:
Hi, I talked to a Microsoft person for about 4 month ago, and he said that microsoft was developing a tool/program, so it was easier to deplay the mssql database to the webhost.... at that time...
0
1124
by: hugo_herrera | last post by:
Hi there, Anyone know of a webhost that provides an API that allows the website code to automate the domain/subdomain/alias/email account creation? The website we are looking to run generates...
11
2568
by: Martin Joergensen | last post by:
Hi, I've encountered a really, *really*, REALLY strange error :-) I have a for-loop and after 8 runs I get strange results...... I mean: A really strange result.... I'm calculating...
20
1648
by: SpreadTooThin | last post by:
I have a list and I need to do a custom sort on it... for example: a = #Although not necessarily in order def cmp(i,j): #to be defined in this thread. a.sort(cmp) print a
4
1724
by: Dean Craig | last post by:
I'm getting ready to build my first ASP.NET/SQL Server website that will be hosted on some web host out there (long distance, different network). The work I've done in the past (pre-.NET) was all...
1
2007
Mague
by: Mague | last post by:
Hey, I would like to use my computer as a webhost. I have got apache and this works really well on my computer. I do not have a domain such as yet (mum and dad havn't braught it yet) and i cannot...
2
1309
by: simon2x1 | last post by:
first what is Gd library and second if i turn on my gd library on my wamp serve in other to make a page display a resize image, what will i turn on in my webhost to make that page display a resize...
0
7229
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.