|
|
|
Next: Pls help me to validate some code!
|
| Author |
Message |
External

Since: Jun 30, 2007 Posts: 5
|
(Msg. 1) Posted: Mon Aug 06, 2007 6:53 am
Post subject: Link to another website, in an iframe, to a spot on page Archived from groups: alt>html (more info?)
|
|
|
Hi All,
Here's what I have, but it doesn't jump down to the spot on the page.
<a href="#" onclick="window.open('http://www.energywellnessstudies.com?
url=home/faculty.asp#DeMarco',
'DeMarco','toolbar=yes,location=yes,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=600')">Dr.
Carolyn DeMarco</a>
The page it's going to has <a name="DeMarco"></a> where I want to jump
to. This name tag works within the page because I use it to jump from
her top picture down to her detail.
If you need it, the code is on the page www.devitawellness.com/pub/electpoll.asp.
Any help to make this work would be appreciated.
Thanks,
Michele |
|
| Back to top |
|
 |  |
External

Since: Jun 30, 2007 Posts: 5
|
(Msg. 2) Posted: Mon Aug 06, 2007 12:04 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
On Aug 6, 2:47 pm, John Hosking <J....TakeThisOut@DELETE.Hosking.name.INVALID>
wrote:
> mjones wrote:
> > On Aug 6, 1:56 pm, "Beauregard T. Shagnasty" wrote:
> >> The resulting page, though, is still a large empty blue box "for the
> >> month of August"...
>
> >> Are you: http://www.quality-computing.com/?
> >> ..a large empty *dark* blue box. That site has the same problems.
>
> > I'm not sure what you mean by a 'large empty *dark* blue box". This
> > website works in IE6, IE7 and pretty much in FireFox, has been for
> > several years, i.e.www.devitawellness.comworks. Similarly, so does
> >www.energywellnessstudies.com. And the 'month of August'? Whatever
> > do you mean? It sounds like you're into the Tetigi software (the
> > webstats stuff) from the bottom of the pages. What browser do you
> > use?
>
> Beauregard tends to travel unencumbered by JavaScript. With my JS turned
> off I see vast tracts of empty space on (the default pages of) both the
> sites mentioned. Doesn't matter what browser.
>
> --
> John
> Pondering the value of the UIP:http://blinkynet.net/comp/uip5.html
Our user stats show 0.39% with Java disabled and 0.77% with JavaScript
disabled. I guess we're okay then. Whew.
We're getting 42% IE7, 42% IE6 and 15% Mozilla/Netscape5 - all English
(US and Canada). Not a fancy userbase.
My original question was, from this page - http://www.devitawellness.com/?url=/pub/elecpoll.asp
(see link below), why doesn't the result jump down to the name
DeMarco?
<a href="#" onclick="window.open('http://
www.energywellnessstudies.com?
url=home/faculty.asp#DeMarco',
'DeMarco','toolbar=yes,location=yes,status=no,menubar=yes,scrollbars=yes,re
sizable=yes,width=800,height=600')">Dr.
Carolyn DeMarco</a>
I hope someone can help now that I've validated the code.
Thanks again all,
Michele |
|
| Back to top |
|
 |  |
External

Since: Jun 30, 2007 Posts: 5
|
(Msg. 3) Posted: Mon Aug 06, 2007 2:15 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
On Aug 6, 5:02 pm, "Chris F.A. Johnson" <cfajohn....RemoveThis@gmail.com> wrote:
> On 2007-08-06, mjones wrote:
> > On Aug 6, 2:47 pm, John Hosking <J....RemoveThis@DELETE.Hosking.name.INVALID>
> > wrote:
> ...
> >> Beauregard tends to travel unencumbered by JavaScript. With my JS turned
> >> off I see vast tracts of empty space on (the default pages of) both the
> >> sites mentioned. Doesn't matter what browser.
>
> > Our user stats show 0.39% with Java disabled and 0.77% with JavaScript
> > disabled. I guess we're okay then.
>
> No, it means that a lot of people don't bother returning to your
> site.
>
> --
> Chris F.A. Johnson <http://cfaj.freeshell.org>
> ===================================================================
> Author:
> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
How do I go about fixing it? Are you suggesting that I don't use
Javascript?
We're getting 47% returning visitors. For the client's industry, I'm
happy with that. |
|
| Back to top |
|
 |  |
External

Since: Jul 09, 2006 Posts: 320
|
(Msg. 4) Posted: Mon Aug 06, 2007 5:02 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
On 2007-08-06, mjones wrote:
> On Aug 6, 2:47 pm, John Hosking <J....RemoveThis@DELETE.Hosking.name.INVALID>
> wrote:
....
>> Beauregard tends to travel unencumbered by JavaScript. With my JS turned
>> off I see vast tracts of empty space on (the default pages of) both the
>> sites mentioned. Doesn't matter what browser.
>
> Our user stats show 0.39% with Java disabled and 0.77% with JavaScript
> disabled. I guess we're okay then.
No, it means that a lot of people don't bother returning to your
site.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) |
|
| Back to top |
|
 |  |
External

Since: Jul 09, 2006 Posts: 320
|
(Msg. 5) Posted: Mon Aug 06, 2007 6:36 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
On 2007-08-06, mjones wrote:
> On Aug 6, 5:02 pm, "Chris F.A. Johnson" <cfajohn... RemoveThis @gmail.com> wrote:
>> On 2007-08-06, mjones wrote:
>> > On Aug 6, 2:47 pm, John Hosking <J... RemoveThis @DELETE.Hosking.name.INVALID>
>> > wrote:
>> ...
>> >> Beauregard tends to travel unencumbered by JavaScript. With my JS turned
>> >> off I see vast tracts of empty space on (the default pages of) both the
>> >> sites mentioned. Doesn't matter what browser.
>>
>> > Our user stats show 0.39% with Java disabled and 0.77% with JavaScript
>> > disabled. I guess we're okay then.
>>
>> No, it means that a lot of people don't bother returning to your
>> site.
>
> How do I go about fixing it? Are you suggesting that I don't use
> Javascript?
Exactly!
> We're getting 47% returning visitors. For the client's industry, I'm
> happy with that.
Think how much more it would be without JS.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) |
|
| Back to top |
|
 |  |
External

Since: Jan 07, 2007 Posts: 318
|
(Msg. 6) Posted: Mon Aug 06, 2007 8:47 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
mjones wrote:
> On Aug 6, 1:56 pm, "Beauregard T. Shagnasty" wrote:
>> The resulting page, though, is still a large empty blue box "for the
>> month of August"...
>>
>> Are you: http://www.quality-computing.com/?
>> ..a large empty *dark* blue box. That site has the same problems.
>
> I'm not sure what you mean by a 'large empty *dark* blue box". This
> website works in IE6, IE7 and pretty much in FireFox, has been for
> several years, i.e. www.devitawellness.com works. Similarly, so does
> www.energywellnessstudies.com. And the 'month of August'? Whatever
> do you mean? It sounds like you're into the Tetigi software (the
> webstats stuff) from the bottom of the pages. What browser do you
> use?
Beauregard tends to travel unencumbered by JavaScript. With my JS turned
off I see vast tracts of empty space on (the default pages of) both the
sites mentioned. Doesn't matter what browser.
--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html |
|
| Back to top |
|
 |  |
External

Since: Sep 27, 2006 Posts: 727
|
(Msg. 7) Posted: Mon Aug 06, 2007 11:49 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
Beauregard T. Shagnasty wrote:
> mjones wrote:
>
>> Yes, hand coded if I understand what you mean. I use HomeSite,
>
> Your sites are not hand-coded. Hand-coding is when you type everything
> in the "source" with your keyboard, not using a WYSIWYMG product such as
> HoseSite.
You are mistaken here. I've been using HomeSite for years. It's a very
good plain text editor and web authoring tool. Some versions do have
some WYSIWYG-like features, but they are best ignored.
--
Berg |
|
| Back to top |
|
 |  |
External

Since: Jul 17, 2007 Posts: 197
|
(Msg. 8) Posted: Tue Aug 07, 2007 8:56 am
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
Well bust mah britches and call me cheeky, on Tue, 07 Aug 2007 06:20:29 GMT
mjones scribed:
> Thanks for the menu example Bergamot. I'm not a fan of the expanding/
> contracting type of menu, however. It makes me motion sick, but I
> know many like it. I call it mystery meat - you don't know what's
> there until you mouse over or click.
>
> I guess that's a no then on my original request.
>
> I appreciate all your comments and ideas.
>
> Thanks all and good night,
I see the sign of the cause of the original problem. The content is being
delayed in loading (-include? -iframe? -javascript manipulation?) so
there is nothing "there yet" when the hash, #demarco, tries to operate.
When the content finally does appear, it's too late.
--
Neredbojias
Half lies are worth twice as much as whole lies. |
|
| Back to top |
|
 |  |
External

Since: Jul 19, 2007 Posts: 113
|
(Msg. 9) Posted: Tue Aug 07, 2007 10:23 am
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
In article <Xns998513C37187Dnanopandaneredbojias.TakeThisOut@198.186.190.161>,
Neredbojias <monstersquasher.TakeThisOut@yahoo.com> wrote:
> Well bust mah britches and call me cheeky, on Tue, 07 Aug 2007 06:20:29 GMT
> mjones scribed:
>
> > Thanks for the menu example Bergamot. I'm not a fan of the expanding/
> > contracting type of menu, however. It makes me motion sick, but I
> > know many like it. I call it mystery meat - you don't know what's
> > there until you mouse over or click.
> >
> > I guess that's a no then on my original request.
> >
> > I appreciate all your comments and ideas.
> >
> > Thanks all and good night,
>
> I see the sign of the cause of the original problem. The content is being
> delayed in loading (-include? -iframe? -javascript manipulation?) so
> there is nothing "there yet" when the hash, #demarco, tries to operate.
> When the content finally does appear, it's too late.
Loading stuff in frames or iframes does take time, a problem especially
if other frames rely on the loaded information. I got round this sort of
problem by having the onLoad event of the slow-loading frame set a flag.
You can use a timer event elsewhere to pick this up. Unfortunately you
need to do this in a loop as JS doesn't give you the proper tools, but
at least you can avoid running the CPU at 100% by not simply spinning on
the flag. |
|
| Back to top |
|
 |  |
External

Since: Sep 27, 2006 Posts: 727
|
(Msg. 10) Posted: Tue Aug 07, 2007 3:40 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
Beauregard T. Shagnasty wrote:
> Bergamot wrote:
>
>> I've been using HomeSite for years. It's a
>> very good plain text editor and web authoring tool.
>
> I may be confusing it with GoLive...
No comparison, really.  HomeSite was created by a company called
Allaire (who also created Cold Fusion), which was bought by Macromedia
in 2001 and is now of course owned by Adobe. That ownership the only
thing HomeSite has in common with GoLive.
> but are you saying mjones typed
> all that code manually? <phew!> It looks so .. generated!
If it's that ugly, he more likely copy and pasted manually.
--
Berg |
|
| Back to top |
|
 |  |
External

Since: Sep 27, 2006 Posts: 727
|
(Msg. 11) Posted: Tue Aug 07, 2007 4:55 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
mjones wrote:
>
> Thanks for the menu example Bergamot.
Are you confusing me with someone else? I don't know what you are
referring to.
--
Berg |
|
| Back to top |
|
 |  |
External

Since: Jul 17, 2007 Posts: 197
|
(Msg. 12) Posted: Tue Aug 07, 2007 8:13 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
Well bust mah britches and call me cheeky, on Tue, 07 Aug 2007 09:23:41
GMT Tim Streater scribed:
>> > I guess that's a no then on my original request.
>> >
>> > I appreciate all your comments and ideas.
>> >
>> > Thanks all and good night,
>>
>> I see the sign of the cause of the original problem. The content is
>> being delayed in loading (-include? -iframe? -javascript
>> manipulation?) so there is nothing "there yet" when the hash,
>> #demarco, tries to operate. When the content finally does appear,
>> it's too late.
>
> Loading stuff in frames or iframes does take time, a problem
> especially if other frames rely on the loaded information. I got round
> this sort of problem by having the onLoad event of the slow-loading
> frame set a flag. You can use a timer event elsewhere to pick this up.
> Unfortunately you need to do this in a loop as JS doesn't give you the
> proper tools, but at least you can avoid running the CPU at 100% by
> not simply spinning on the flag.
That could work for the OP's problem by capturing any hash immediately and
processing it later. Might be a moderate PIA, though.
--
Neredbojias
Half lies are worth twice as much as whole lies. |
|
| Back to top |
|
 |  |
External

Since: Jul 19, 2007 Posts: 113
|
(Msg. 13) Posted: Thu Aug 09, 2007 4:58 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
In article <Xns998756C66AB9Darbpenyahoocom.DeleteThis@69.28.186.121>,
Adrienne Boswell <arbpen.DeleteThis@yahoo.com> wrote:
> Gazing into my crystal ball I observed mjones <michele@quality-
> computing.com> writing in news:1186434912.350208.135740
> @r34g2000hsd.googlegroups.com:
>
> >> > Our user stats show 0.39% with Java disabled and 0.77% with
> JavaScript
> >> > disabled. I guess we're okay then.
> >>
> >> No, it means that a lot of people don't bother returning to your
> >> site.
> >>
> >
> > How do I go about fixing it? Are you suggesting that I don't use
> > Javascript?
>
> Javascript should be used as an enhancement. When vital elements do not
> work, then yes, it's time to get rid of the javascript. Do something
> server side.
Is this a general rule, then? |
|
| Back to top |
|
 |  |
External

Since: Jul 06, 2007 Posts: 17
|
(Msg. 14) Posted: Thu Aug 09, 2007 6:57 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
In article <fkIui.26692$ax1.198@bgtnsc05-news.ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous RemoveThis @example.invalid> wrote:
> Tim Streater wrote:
>
> > Adrienne Boswell <arbpen RemoveThis @yahoo.com> wrote:
> >> Javascript should be used as an enhancement. When vital elements do
> >> not work, then yes, it's time to get rid of the javascript. Do
> >> something server side.
> >
> > Is this a general rule, then?
>
> A real rule? Probably not, but would you want to risk losing ~10% of
> your annual business because visitors couldn't navigate your web site?
> It's not an actual rule, but it certainly is good common sense, eh?
Well, it depends, doesn't it? The wesbite I manage at work is a front
end to our assets database. It's used by our engineers, finance,
development, and operations teams, and by selected engineers of some of
our customers. It wouldn't work worth beans with extensive use of
Javascript, PHP, and iframes. |
|
| Back to top |
|
 |  |
External

Since: Jul 06, 2007 Posts: 17
|
(Msg. 15) Posted: Thu Aug 09, 2007 8:11 pm
Post subject: Re: Link to another website, in an iframe, to a spot on page Archived from groups: per prev. post (more info?)
|
|
|
In article <o1Jui.26746$ax1.22335@bgtnsc05-news.ops.worldnet.att.net>,
"Beauregard T. Shagnasty" <a.nony.mous.TakeThisOut@example.invalid> wrote:
> Tim Streater wrote:
>
> > "Beauregard T. Shagnasty" <a.nony.mous.TakeThisOut@example.invalid> wrote:
> >> Tim Streater wrote:
> >>> Adrienne Boswell <arbpen.TakeThisOut@yahoo.com> wrote:
> >>>> Javascript should be used as an enhancement. When vital elements
> >>>> do not work, then yes, it's time to get rid of the javascript. Do
> >>>> something server side.
> >>>
> >>> Is this a general rule, then?
> >>
> >> A real rule? Probably not, but would you want to risk losing ~10%
> >> of your annual business because visitors couldn't navigate your web
> >> site? It's not an actual rule, but it certainly is good common
> >> sense, eh?
> >
> > Well, it depends, doesn't it? The wesbite I manage at work is a front
> > end to our assets database. It's used by our engineers, finance,
> > development, and operations teams, and by selected engineers of some
> > of our customers.
>
> Your description implies that you have access control to this web site,
> and that it is not a public site.
Correct.
> If so, you can demand that your
> engineers et al, have JavaScript enabled. You can even demand that they
> all use "Internet Explorer 6 and above" if you wish. <g>
Well, I don't go that far
In fact it's unlikely they will be using IE, in my experience, although
I test against several browsers including IE.
> > It wouldn't work worth beans with [without?] extensive use of
> > Javascript, PHP, and iframes.
Typo, sorry.
> That would be your choice. PHP of course is server-side, and not
> dependent upon the visitors' browser. Some people, though not as many as
> with JavaScript, may block iframes as well.
>
> Opera: Tools > Preferences > Advanced tab > Content
> [ Style Options ] > Display tab
> [X] Enable frames
> [ ] Enable inline frames
>
> Firefox: URL: about:config
> Filter: frame
> Change value for: browser.frames.enabled to false
>
> We are saying that an author should not use a technology on a public
> site that will render the site useless for a fair chunk of visitors.
Depends if the author cares (or needs to care), I suppose. They can
always put some caveats on the page somewhere. That said, I can
obviously imagine that if the site is aimed at getting more and more
visitors it's important that it work for a wider set.
I've had no formal training in the area, so it could easily be that I do
a number of things the hard way without being aware of that. E.g I use
cascading popups where the content of popup n is set when the user
chooses from popup n-1. This avoids the popups containing several
hundred items, 90% of which are not relevant. My solution is to use the
results of the choice for popup n-1, to drive what is then loaded into
the iframe containing popup n. This also reduces the load on the
database server, and the size of the downloaded page.
So I'm quite proud of myself.
But then I lurk here, and I see it said that:
1) Javascript evil
2) Frames evil
3) iframes evil
and I'm never quite sure whether that's because:
1) the statements made pertain to a particular set of circumstances
2) these things really *are* evil and I am a bozo for being ignorant of
some other technique which solves all my problems pronto.
Hence my question. |
|
| Back to top |
|
 |  |
|
You cannot post new topics in this forum You cannot 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
|
|
|
|
|