Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

META refresh and JavaScript

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Inetinfo crashing problem  
Author Message
Tony

External


Since: Oct 18, 2005
Posts: 76



(Msg. 1) Posted: Tue Oct 18, 2005 5:02 pm
Post subject: META refresh and JavaScript
Archived from groups: alt>www>webmaster (more info?)

I've been doing some googling on the subject, but no luck yet.

Basically, what I'm looking to do is use JavaScript to cancel a META
refresh. Is this possible to do? If so, would anyone know how to do it?

Obviously, the point would be to redirect someone to a different page
if they didn't have JavaScript, but keep them on the original page if
they did.

TIA...

 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Allis

External


Since: May 17, 2005
Posts: 114



(Msg. 2) Posted: Tue Oct 18, 2005 5:34 pm
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Charles Sweeney" <me DeleteThis @charlessweeney.com> wrote in message
news:Xns96F4E6AD4D7Emecharlessweeneycom@130.133.1.4...
> Allis wrote
>
> > --
> > /)/)
> > =(';')=
> > ,,,("),("),,,
> > ..:: Powered by wabbits ::.
>
> Nice bunny you've got there Allis.
>

Thanks hunny, glad you like my bunny Wink

 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 3) Posted: Tue Oct 18, 2005 9:55 pm
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Writing in news:alt.www.webmaster
From the safety of the cafeteria
Allis <allis@allis> said:

>
> "Charles Sweeney" <me.TakeThisOut@charlessweeney.com> wrote in message
> news:Xns96F4E6AD4D7Emecharlessweeneycom@130.133.1.4...

>> ...
>> Nice bunny you've got there Allis.
>
> Think hussy, glad you like my pussy Wink

oh!

--
William Tasso

virtue is its own punishment
 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Allis

External


Since: May 17, 2005
Posts: 114



(Msg. 4) Posted: Tue Oct 18, 2005 9:55 pm
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"William Tasso" <SpamBlocked DeleteThis @tbdata.com> wrote in message
news:op.syvaq8xxm9g4qz-wnt@tbdata.com...
> Writing in news:alt.www.webmaster
> From the safety of the cafeteria
> Allis <allis@allis> said:
>
> >
> > "Charles Sweeney" <me DeleteThis @charlessweeney.com> wrote in message
> > news:Xns96F4E6AD4D7Emecharlessweeneycom@130.133.1.4...
>
> >> ...
> >> Nice bunny you've got there Allis.
> >
> > Think hussy, glad you like my pussy Wink
>
> oh!
>


RoFL ! ! ! ! !

I can't wait until they come up with scratch_n_sniff_HTML.
The Beta may have some quirks, but, whatever.
Parts is parts.
Or a partial dirivative.


--
Allis
deep in the doo doo, that special on toilet tissue sure looks good now
doesn't it?
 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Sig

External


Since: Sep 03, 2005
Posts: 10



(Msg. 5) Posted: Tue Oct 18, 2005 11:55 pm
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 18 Oct 2005 17:02:55 -0700, "Tony" <tony23 RemoveThis @dslextreme.com> wrote:

>Obviously, the point would be to redirect someone to a different page
>if they didn't have JavaScript, but keep them on the original page if
>they did.

<noscript>
<meta ..........>
</noscript>

--
Sig
(add three to my address to avoid spam filter)
 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Tony

External


Since: Oct 18, 2005
Posts: 76



(Msg. 6) Posted: Wed Oct 19, 2005 9:40 am
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>Obviously, the point would be to redirect someone to a different page
>if they didn't have JavaScript, but keep them on the original page if
>they did.

<noscript>
<meta ..........>
</noscript>

---

That breaks the META tag, at least in IE and Firefox...
 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Tony

External


Since: Oct 18, 2005
Posts: 76



(Msg. 7) Posted: Wed Oct 19, 2005 10:27 am
Post subject: Re: META refresh and JavaScript [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well, no luck playing with the META tags - it seems once the refresh is
sent, it's all over.

BUT, I did come up with a way. Basically, it works like this:

The initial page (start.php) loads and checks for a GET variable
'noredirect'
If the variable is NOT defined, which it wouldn't be on the first load,
it then redirects to 'dest.htm'
A script in dest.htm then redirects BACK to start.php, with noredirect
defined inthe querystring
Since noredirect is now defined, the redirect header isn't sent.

The essential code for this is:

start.php:

<?php
if (!isset($_GET['noredirect']) header('Location: dest.htm');
?>
<html> // HTML follows

dest.htm
<head>
<script>
window.location = 'start.php?noredirect=1';
</script>
// stuff follows

If I can't sell them on the simple solution, maybe this one will be
acceptable...

thanks for helping me think it through.
 >> Stay informed about: META refresh and JavaScript 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SEO and meta refresh - Hi, We have a website which is very outdated. Nevertheless, we are very high in search engines rankings for the brands we represent. We are now building a brand new database driven website, but we are a little bit afraid to loose our search engine..

Can I meta refresh to a new browser window? - Hi Is there anyway to get a meta refresh to do so in an new browser window? e.g. This code forwards this user after 8 seconds... <meta http-equiv=refresh content=8;url=http://www.auction-air.com/index.html> Is it possible to do so but in a new w...

webpage refresh - Hi all... I am building my own website now, and in one of the pages i have a form with a link that calls entry to guest book on anoher frame, my problem is: that when i click on the link, the page reloads from cash not fromt he server and i have to reloa...

content refresh problem - hello! my website's viewers alerts me that they cannot see a new added content. i added it about 23 hrs ago and they can't see it until now. i made an investigation and judged that users whose net is provided by telephone-operators don't have this..

meta tag? - How should I write the language Meta tag: <META name="language" content="EN-US"> if I wish to get other languages on the same page such as French, Ductch... Should the content be like this="EN-US, EN, FR, NL" Thank yo...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]