From amrit.pal27 at yahoo.com Mon Oct 11 01:49:25 2010
From: amrit.pal27 at yahoo.com (Amrit Pal)
Date: Sun, 10 Oct 2010 23:49:25 -0700 (PDT)
Subject: [thelist] How to apply same function to all the images
Message-ID: <544589.36233.qm@web110011.mail.gq1.yahoo.com>
i have to files
1).html file>>>it has one function defined inside it that is changeIt() that
works on the page loads.
2).js file >>>it has 1 functions that is changeeIt() and it works at the image
click...
Both are working well for single image,but i want to all more image on the same
page.. so how to make the use of these function at images
1)the coding of html file is as under>>>.
1.
2.
3.
4.
5.
15.
16.
17.
18.
19.
20.
21.
22.
2)coding of .js file is as under..
1. var count=1;
2. function changeeIt()
3. {
4. if(count==1)
5. {
6. var width=500
7. var height=500
8. document.image.width=width
9. document.image.height=height
10. count=2;
11. }
12. else if(count==2)
13. {
14. var amrit1=50
15. var pal=50
16. document.image.width=amrit1
17. document.image.height=pal
18. count=1;
19. }
20. }Please somebody help..
Thanks in advance
From viggie at viggie.com Mon Oct 11 06:14:46 2010
From: viggie at viggie.com (Viggie)
Date: Mon, 11 Oct 2010 16:44:46 +0530
Subject: [thelist] PHP fwrite anomaly
In-Reply-To: <74FD593DAFE64D05A90DBA7637DFAF3A@DEV>
References: <74FD593DAFE64D05A90DBA7637DFAF3A@DEV>
Message-ID: <1286795686.2169.9.camel@viggie-laptop>
On Sat, 2010-10-09 at 15:39 +0100, Sales @ Lycosa wrote:
> cURL does not allow unlinking in /home/barrierm/public_html/ftp_test.php on
> line 9
Hi Phil,
The reason might be that the remote server have cURL while your local
one doesn't. I had a similar experience and it finally worked when we
used cURL specific codes to write the file on server.
regards,
Viggie
________________________
Helping websites to work
http://viggie.com
From sales at lycosa.co.uk Mon Oct 11 07:43:34 2010
From: sales at lycosa.co.uk (Sales @ Lycosa)
Date: Mon, 11 Oct 2010 13:43:34 +0100
Subject: [thelist] PHP fwrite anomaly
In-Reply-To: <1286795686.2169.9.camel@viggie-laptop>
Message-ID: <0C7F02D21A3F43E9A40CCDDD5558DB0C@DEV>
> The reason might be that the remote server have cURL while your local
one doesn't.
Thanks, Viggie. Both servers are set up pretty much the same, and both have
cURL support. None of it makes sense!
I tired of searching for a solution, so I managed a workaround by writing
the file locally, then FTPing it over.
Thanks for your help guys,
Phil
From bobm at dottedi.biz Mon Oct 11 15:47:54 2010
From: bobm at dottedi.biz (Bob Meetin)
Date: Mon, 11 Oct 2010 14:47:54 -0600
Subject: [thelist] domain auction
Message-ID: <4CB377FA.1080608@dottedi.biz>
A client wanna-be asked me to check on whether it is legit or not that a
domain name she wants is being offered through an auction at Sedo.com.
Aside from ebay I have no experience with these things. It lists a
current bid of around $70 and says no reserve price but that the reserve
is somewhere between $1 - $500.
Hopefully I am not opening a can of worms, but feedback is appreciated,
on or off list.
From rob at rob-n-steph.net Tue Oct 12 05:52:26 2010
From: rob at rob-n-steph.net (Robert Lee)
Date: Tue, 12 Oct 2010 06:52:26 -0400
Subject: [thelist] domain auction
In-Reply-To: <4CB377FA.1080608@dottedi.biz>
References: <4CB377FA.1080608@dottedi.biz>
Message-ID: <00ac01cb69fb$9102f8f0$b308ead0$@net>
Bob,
My experience with them is limited, but Sedo was recommended in a number of
places when I decided to put a couple of my extra domains up for sale. I
haven't sold them yet, so I haven't had any hands on experience with their
escrow service, or other aspects of the sales process with them, but I
wouldn't be too worried about them as a company,
HTH,
Rob
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin
Sent: Monday, October 11, 2010 4:48 PM
To: thelist at lists.evolt.org
Subject: [thelist] domain auction
A client wanna-be asked me to check on whether it is legit or not that a
domain name she wants is being offered through an auction at Sedo.com.
Aside from ebay I have no experience with these things. It lists a
current bid of around $70 and says no reserve price but that the reserve
is somewhere between $1 - $500.
Hopefully I am not opening a can of worms, but feedback is appreciated,
on or off list.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
From jeff.hinds at netagency.com Tue Oct 12 10:45:36 2010
From: jeff.hinds at netagency.com (Jeff Hinds)
Date: Tue, 12 Oct 2010 10:45:36 -0500
Subject: [thelist] domain auction
In-Reply-To: <4CB377FA.1080608@dottedi.biz>
References: <4CB377FA.1080608@dottedi.biz>
Message-ID:
Hi Bob,
Sedo is a legitimate company, very professional and safe to use. They're one
of the biggest domain marketplaces on the web.
One domain seller said they also have less fee's than some of the other
domain auction sites.
Jeff
On Mon, Oct 11, 2010 at 3:47 PM, Bob Meetin wrote:
> A client wanna-be asked me to check on whether it is legit or not that a
> domain name she wants is being offered through an auction at Sedo.com.
> Aside from ebay I have no experience with these things. It lists a current
> bid of around $70 and says no reserve price but that the reserve is
> somewhere between $1 - $500.
>
> Hopefully I am not opening a can of worms, but feedback is appreciated, on
> or off list.
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
From alex.beston at gmail.com Wed Oct 13 09:50:59 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Wed, 13 Oct 2010 15:50:59 +0100
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To: <4CB1EA86.3050001@dottedi.biz>
References:
<4CB1EA86.3050001@dottedi.biz>
Message-ID:
well, the content has been superseded but there are references to the
old content on google. isnt it polite to search engine users to not
delete files? should I leave the files but remove the content
replacing a meta redirect eg 301?
From bobm at dottedi.biz Wed Oct 13 10:12:04 2010
From: bobm at dottedi.biz (Bob Meetin)
Date: Wed, 13 Oct 2010 09:12:04 -0600
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To:
References: <4CB1EA86.3050001@dottedi.biz>
Message-ID: <4CB5CC44.6010605@dottedi.biz>
Alex Beston wrote:
> well, the content has been superseded but there are references to the
> old content on google. isnt it polite to search engine users to not
> delete files? should I leave the files but remove the content
> replacing a meta redirect eg 301?
>
Assuming you still have the list of old files, links, you can probably
do something like this in your .htaccess:
RewriteRule old_file.html[php, etc] new_file.html [R=301,L]
If a file doesn't really have a new version, redirect to home or another
page. If there is/was a very consistent naming pattern between old and
new you can possibly set up a pattern matching rule and thus not have to
mess with adding a line for each file. Someone else can better advise
you there.
What you do depends on whether there is need to keep the old files
around, do they have value that has not been superceded?. Perhaps
transition them out. Check google every week or so to see if the
spiders have done their job before removing or archiving them.
-Bob
From spirony at gmail.com Wed Oct 13 11:07:04 2010
From: spirony at gmail.com (Tony Spiro)
Date: Wed, 13 Oct 2010 11:07:04 -0500
Subject: [thelist] Detect Parent URL from embedded iFrame
Message-ID:
I'm looking to track where an embedded widget (iFrame) from my website is
being used on different sites. I have searched all over google and
different forums, but I can't find a way to return the parent url that
contains the frame. Any thoughts on how this can be accomplished with
javascript?
Thanks,
Tony
From vaspers at inbox.com Wed Oct 13 11:35:56 2010
From: vaspers at inbox.com (steven streight)
Date: Wed, 13 Oct 2010 08:35:56 -0800
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To:
References:
<4cb1ea86.3050001@dottedi.biz>
Message-ID: <8C8CA088F62.00000431vaspers@inbox.com>
> well, the content has been superseded but there are references to the
> old content on google. isnt it polite to search engine users to not
> delete files? should I leave the files but remove the content
> replacing a meta redirect eg 301?
What do you mean the content has been "superceded"?
Is the content outdated, wrong, false, untweaked, incomplete, dysfunctional, erroneous, or misleading?
To know how to deal with the files, it would help to know why they are no longer relevant or are indeed useless.
:^)
Steven E. Streight
http://www.pluperfecter.blogspot.com
http://myspace.com/thestr8sounds
____________________________________________________________
Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.
From alex.beston at gmail.com Wed Oct 13 12:30:12 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Wed, 13 Oct 2010 18:30:12 +0100
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To: <8C8CA088F62.00000431vaspers@inbox.com>
References:
<4cb1ea86.3050001@dottedi.biz>
<8C8CA088F62.00000431vaspers@inbox.com>
Message-ID:
> What do you mean the content has been "superceded"?
>
> Is the content outdated, wrong, false, untweaked, incomplete, dysfunctional, erroneous, or misleading?
>
> To know how to deal with the files, it would help to know why they are no longer relevant or are indeed useless.
well i donno how to answer you. what I would say is that i made a
redesign of the site giving more informative urls, and pruning down
some of the content. that sort of thing. i dont want to put up a 404
error because the search engines will start listing a 404 page for the
"missing files" but then again at least the user is kept happy &
informed as to whats happened. normally I have just deleted it and
wait for the SE to update its index but as i am back to this situation
again in the lifecycle i thought while there was a moment to really
find out what was the *best* thing to do. delete and forget-about-it
or preserve and inform the SE?
From alex.beston at gmail.com Wed Oct 13 13:27:18 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Wed, 13 Oct 2010 19:27:18 +0100
Subject: [thelist] How to apply same function to all the images
In-Reply-To: <544589.36233.qm@web110011.mail.gq1.yahoo.com>
References: <544589.36233.qm@web110011.mail.gq1.yahoo.com>
Message-ID:
Amrit
try this:
...
So what you do is set the images to a generic label e.g.
class="myclass", change the attributes of myclass and youre good to
go.
you see the problem is JS doesnt come with a getelementbyclass for the
obvious reason that it would have to get a multiplicity of elements
whereas an id is just one element, so it makes sense to have a
getElementById.
However someone has written a getElementByClass which is here:
http://forums.devshed.com/javascript-development-115/javascript-get-all-elements-of-class-abc-24349.html
and ofcourse, jquery has it aswell, which you'd be alot safer using.
have a read of:
http://docs.jquery.com/How_jQuery_Works
Happy coding,
Alex
From alex.beston at gmail.com Wed Oct 13 16:17:14 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Wed, 13 Oct 2010 22:17:14 +0100
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To: <4CB6136C.2030900@dottedi.biz>
References:
<4cb1ea86.3050001@dottedi.biz>
<8C8CA088F62.00000431vaspers@inbox.com>
<4CB606BD.6070205@dottedi.biz>
<4CB6136C.2030900@dottedi.biz>
Message-ID:
thanks for the proceedure, will do something like your recommendation.
> i have not been doing meta redirects.
thing is - if htaccess is blocked - eg streamline - youre snookered.
or other reason cant run .htaccess
> if the content has been pruned what to do then? send user back to index?
>
>
> pruned is kind of an ambiguous term.
sure, i should be more precise. yes mean removed entirely. client had
some files which revealed too much to the WWW; ofcourse its all on
archive.org so not much escape there!
> if you mean removed, then sure, add a
> 301 redirect in the .htaccess file to send the viewer to whatever page you
> think makes sense, does not have to be the home page.
im wondering what that would mean from a UX POV. would the user wonder
what was going on? perhaps a special page (not a 404 page) saying that
the user came in via an old link? perhaps something about why the
content is gone? what it used to be?
From vaspers at inbox.com Wed Oct 13 16:22:44 2010
From: vaspers at inbox.com (steven streight)
Date: Wed, 13 Oct 2010 13:22:44 -0800
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To:
References:
<4cb606bd.6070205@dottedi.biz> <4cb6136c.2030900@dottedi.biz>
<4cb1ea86.3050001@dottedi.biz> <8c8ca088f62.00000431vaspers@inbox.com>
Message-ID: <8F0DAEBF9F4.000009C8vaspers@inbox.com>
Alex you have brought up an extremely vital topic and I just want to thank you for making us all think harder. You introduce many very astute and interesting points, some a bit beyond my own expertise.
:^)
Steven E. Streight
http://www.pluperfecter.blogspot.com
http://myspace.com/thestr8sounds
____________________________________________________________
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if5
Capture screenshots, upload images, edit and send them to your friends
through IMs, post on Twitter?, Facebook?, MySpace?, LinkedIn? ? FAST!
From alex.beston at gmail.com Wed Oct 13 16:46:58 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Wed, 13 Oct 2010 22:46:58 +0100
Subject: [thelist] Correct procedure for removing files from a site
In-Reply-To: <8F0957455A6.000009C2vaspers@inbox.com>
References:
<4cb1ea86.3050001@dottedi.biz>
<8d7c0b3f050.000005f4vaspers@inbox.com>
<8c8ca088f62.00000431vaspers@inbox.com>
<8F0957455A6.000009C2vaspers@inbox.com>
Message-ID:
Steven / Evolt users
> I said exactly what I intended to say: best practice SEO is to design for users first, SEs second.
Right. hadnt realised that a SE think so much of the user - I tend to
think of SEO as page optimisation but its obviously alot more than
that. thanks for clearing up that point for me. im a little behind
since becoming a father - a year or so out of the internet game and it
feels like 10 years away!!
back to the main topic, do you guys think is it best to tell the SE
that the site has changed rather than waiting for it to discover a
change?
Using the Push / pull terminology [ http://bit.ly/push-pull- ], and
if the SE is the consumer of the information, the site owner /
webmaster is the producer then I'd imagine telling the consumer would
be a "push" and the consumer discovering itself would be a "pull".
The side issue here is that if a push is better then is it actually
possible to tell all the SE worth anything that the site has changed,
and so to alter which files it lists? i know the G. webmaster tools
allows something like that but dunno if MSN, ASK or Yahoo allow a
producer push.
From alex.beston at gmail.com Thu Oct 14 15:44:05 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Thu, 14 Oct 2010 21:44:05 +0100
Subject: [thelist] Detect Parent URL from embedded iFrame
In-Reply-To:
References:
Message-ID:
not quite what you are looking for but i would look in the server logs
and select all those where the referrer is not your own site. you
might be able to prevent in similiar way that image hotlinking is
stopped.
From alex.beston at gmail.com Thu Oct 14 16:50:05 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Thu, 14 Oct 2010 22:50:05 +0100
Subject: [thelist] Detect Parent URL from embedded iFrame
In-Reply-To:
References:
Message-ID:
Tony
actually you can break out of frames / iframes:
http://bit.ly/stop-framing
but back to the OP, why not try a http_referrer variable?
$_SERVER['HTTP_REFERER']
... so that you have that inside your page and you email yourself with
that value.
So this might be a way to do it: however not all webservers give out
this variable, so theres a limit to this method (see note at end of
this msg).
they cant stop you putting a bit of javascript in your code but trying
to see what the top.location is (the value you asked for in your OP)
is an unsafe javascript proceedure and youll get this:
Unsafe JavaScript attempt to access frame with URL www.site-with-iframe.com
from frame with URL www.site-with-the-content.com
Domains, protocols and ports must match.
I think its a XSS (cross site scripting) deal.
Anyway, check this out:
http://deltatraffic.co.uk/misc-web/getAnotherSiteContent.html
I have two sites I own so I can demonstrate what can be done.
combination of php / asp & JS will do the trick.
last thought. if make sure your server outputs an http_referrer value,
so that when your page is loaded by another site, the reported value
is going to be either *blank* or a different value, so you know your
site has been iframed.
--
rgds, Alex
blarg: bit.ly/old-log
---------------------------------------------------------------------
From alex.beston at gmail.com Thu Oct 14 16:54:55 2010
From: alex.beston at gmail.com (Alex Beston)
Date: Thu, 14 Oct 2010 22:54:55 +0100
Subject: [thelist] Detect Parent URL from embedded iFrame
In-Reply-To:
References:
Message-ID:
should have added another site to make the point over referrers:
http://bloggingbybeston.blogspot.com/2010/10/get-another-sites-content.html
(the content site has:
)
From zhangweiwu at realss.com Fri Oct 15 01:46:13 2010
From: zhangweiwu at realss.com (Zhang Weiwu)
Date: Fri, 15 Oct 2010 14:46:13 +0800
Subject: [thelist] to demonstrate JQuery as visual effect tool
Message-ID: <4CB7F8B5.2030006@realss.com>
Hello. We have a customer recently demanding flash-based animation,
thinking flash is the best to get the visual impression she demands (and
she think her business needs). Unlike most other clients who wants to
have a certain result in the end, she try to make personal taste by
selecting from a few flash based animation (mostly variants of
slideshows) and ask us to implement for her.
I explained we use JQuery and we can handle most slideshow requirements.
She then brings a valid point: if she select from a royalty-free flash
effect library, as she did a few times before when working with other
web designers, she have the confidence that what she choose can simply
be taken and used with almost zero additional effort (thus not too much
cost charged by web designer). If we recommend JQuery, she prefers to
select form a "royalty-free" JQuery effect demo library to make our work
easier, otherwise she might selected a flash effect of flash demo
library that is hard to do in JQuery (or look different on JQuery) thus
end up in either bad delivery or bargain over cost. So, she think we
should propose a JQuery based effect library for her to base personal
choice on.
Question is: does there exist a good JQuery based effect library?
Consider the client is a very visual person, a list of names of special
effect would not help her a lot. On the other hand, if no demo-library a
list of websites with impressive JQuery effects on the front page helps
he a lot. In fact, if unmatchedstyles.com have a special section called
"good jQuery usages" it would be perfect.
Personally I don't want to emphasize the effects too much, for usability
reason as well as that I don't see a usage-oriented demand of more
special effects and visual impressions, as we are not making website for
TV or movie star but an ordinary business. But I'd also be happen to
know a good JQuery effect demo library that works for visual person, as
we are under completion from flash-loving designers who can and like to
offer such thing.
Thanks in advance!
Best.
From 437341 at gmail.com Sat Oct 16 00:01:14 2010
From: 437341 at gmail.com (L. M. Arun)
Date: Sat, 16 Oct 2010 10:31:14 +0530
Subject: [thelist] to demonstrate JQuery as visual effect tool (Zhang
Weiwu)
Message-ID:
Take a look at jQuery UI - which provides abstractions for low-level
interaction and animation, advanced effects and high-level, themeable
widgets, built on top of the jQuery JavaScript Library, that you can use to
build highly interactive web applications.
Demos and documentation: http://jqueryui.com/demos/
Also see
http://www.webdesignbeach.com/beachbar/simple-visual-effects-using-jquery
As for sample sites using jquery for visual effects, see a list of such
sites mentioned in this page
http://stackoverflow.com/questions/693397/flash-like-visual-effects-in-js-jquery
======================
http://www.webdesignexpert.me
======================
Message: 4
Date: Fri, 15 Oct 2010 14:46:13 +0800
From: Zhang Weiwu
Subject: [thelist] to demonstrate JQuery as visual effect tool
Question is: does there exist a good JQuery based effect library?
Consider the client is a very visual person, a list of names of special
effect would not help her a lot. On the other hand, if no demo-library a
list of websites with impressive JQuery effects on the front page helps
he a lot. In fact, if unmatchedstyles.com have a special section called
"good jQuery usages" it would be perfect.