HighDots Forums  

Re: More on position fixed

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: More on position fixed in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
BootNic
 
Posts: n/a

Default Re: More on position fixed - 08-10-2008 , 12:37 AM






On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
<AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT) giganews (DOT) com>

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.

http://tinyurl.com/5n5h6e

Java script used to toggle display and set style top/left. The style
top/left need not to be set with java script.

[snip]


--

BootNic Sun Aug 10, 2008 12:37 am
All my humor is based upon destruction and despair. If the whole world
was tranquil, without disease and violence, I'd be standing on the
breadline right in back of J. Edgar Hoover.
*Lenny Bruce US comedian, satirist, author*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiecHsACgkQylMUzZO6jeIQNQCeJ5RbGgPEqc ulMZwGxXOSPIAx
iOUAnjFt6WIqQTA0vicHw/DJfqbdfWg+
=11W2
-----END PGP SIGNATURE-----


Reply With Quote
  #2  
Old   
sheldonlg
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 08:22 PM






BootNic wrote:
Quote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.

http://tinyurl.com/5n5h6e

Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a linked
css file.

Now, the real app that I need to fix uses an application template with
Smarty (I am not familiar with Smarty). It links in a css file. When I
put the CC into the application template (right before the </head>), I
got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Reply With Quote
  #3  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 08:38 PM



sheldonlg wrote:
Quote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a linked
css file.

Now, the real app that I need to fix uses an application template with
Smarty (I am not familiar with Smarty). It links in a css file. When I
put the CC into the application template (right before the </head>), I
got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?



Your PHP question is???

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================



Reply With Quote
  #4  
Old   
sheldonlg
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 08:58 PM



Jerry Stuckle wrote:
Quote:
sheldonlg wrote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a linked
css file.

Now, the real app that I need to fix uses an application template with
Smarty (I am not familiar with Smarty). It links in a css file. When
I put the CC into the application template (right before the </head>),
I got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Your PHP question is???
From http://en.wikipedia.org/wiki/Smarty

"Smarty is a web template system written in PHP."

Since my error is in Smarty, and I researched and found the above line,
I added comp.lang.php to the other two groups.

Now I will repeat my question:

"My question is, how do I get the CC into the app page in this
configuration (and for Jerry: which fails in Smarty)?"




Reply With Quote
  #5  
Old   
BootNic
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 08:59 PM



On Mon, 11 Aug 2008 20:22:04 -0400
sheldonlg <sheldonlg> wrote in:
<A6qdnbV-ybKTRT3VnZ2dnUVZ_r3inZ2d (AT) giganews (DOT) com>

Quote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com
[snip]
Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a linked
css file.
Think of conditional comments as html comments. That is what they are,
only IE sees Conditional Comments as conditional comments, all other
browsers see them as html comments.

So with that, html does not belong in a css file.

The way to link an external style sheet using conditional comments:

<!--[if IE 6]>
<link rel=StyleSheet href="ie6.css" type="text/css">
<![endif]-->

Quote:
Now, the real app that I need to fix uses an application template with
Smarty (I am not familiar with Smarty). It links in a css file. When I
put the CC into the application template (right before the </head>), I
got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?
I don't know what Smarty is or anything about it.

I suggest you try the above example of the conditional comment with the
link element.

If that fails, perhaps a server side include or php print.


--

BootNic Mon Aug 11, 2008 08:58 pm
Nothing is stronger than habit.
*Ovid*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkig4FkACgkQylMUzZO6jeIvnwCghxoqmFFNnI zzIqygs+oRSIZt
HfoAnRt8pBWWc1a9+wYCOcUiRzEH7yh8
=TbSy
-----END PGP SIGNATURE-----



Reply With Quote
  #6  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 09:03 PM



sheldonlg wrote:
Quote:
Jerry Stuckle wrote:
sheldonlg wrote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a
linked css file.

Now, the real app that I need to fix uses an application template
with Smarty (I am not familiar with Smarty). It links in a css
file. When I put the CC into the application template (right before
the </head>), I got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Your PHP question is???

From http://en.wikipedia.org/wiki/Smarty

"Smarty is a web template system written in PHP."

Since my error is in Smarty, and I researched and found the above line,
I added comp.lang.php to the other two groups.

Now I will repeat my question:

"My question is, how do I get the CC into the app page in this
configuration (and for Jerry: which fails in Smarty)?"



So? Both Windows and Linux were written in C. By your logic, Windows
and Linux administrative and usage questions should be asked in a C
programmers group.

If you have Smarty questions, ask in the Smarty support forums.

I repeat. What is your PHP question?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================



Reply With Quote
  #7  
Old   
sheldonlg
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 09:55 PM



BootNic wrote:
Quote:
On Mon, 11 Aug 2008 20:22:04 -0400
sheldonlg <sheldonlg> wrote in:
A6qdnbV-ybKTRT3VnZ2dnUVZ_r3inZ2d (AT...news (DOT) com

BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com
[snip]
Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the css
stuff into a css file but left the conditional code (CC) in the app
directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a linked
css file.

Think of conditional comments as html comments. That is what they are,
only IE sees Conditional Comments as conditional comments, all other
browsers see them as html comments.

So with that, html does not belong in a css file.

The way to link an external style sheet using conditional comments:

!--[if IE 6]
link rel=StyleSheet href="ie6.css" type="text/css"
![endif]--
That didn't work.


Reply With Quote
  #8  
Old   
sheldonlg
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 10:01 PM



Jerry Stuckle wrote:
Quote:
sheldonlg wrote:
Jerry Stuckle wrote:
sheldonlg wrote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the
css stuff into a css file but left the conditional code (CC) in the
app directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a
linked css file.

Now, the real app that I need to fix uses an application template
with Smarty (I am not familiar with Smarty). It links in a css
file. When I put the CC into the application template (right before
the </head>), I got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Your PHP question is???

From http://en.wikipedia.org/wiki/Smarty

"Smarty is a web template system written in PHP."

Since my error is in Smarty, and I researched and found the above
line, I added comp.lang.php to the other two groups.

Now I will repeat my question:

"My question is, how do I get the CC into the app page in this
configuration (and for Jerry: which fails in Smarty)?"




So? Both Windows and Linux were written in C. By your logic, Windows
and Linux administrative and usage questions should be asked in a C
programmers group.

If you have Smarty questions, ask in the Smarty support forums.

I repeat. What is your PHP question?

The last post in any of the three Smarty forums was on Jan 4. Not much
chance of getting an answer there!

So, Jerry, bitch all you want, but I will still post it here, as this,
and the alt.html and comp.lang.javascript, are my best shots at reaching
someone who knows about Smarty and can help me -- whether or not it is
strictly on topic.


Reply With Quote
  #9  
Old   
sheldonlg
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 10:35 PM



sheldonlg wrote:
Quote:
Jerry Stuckle wrote:
sheldonlg wrote:
Jerry Stuckle wrote:
sheldonlg wrote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the
css stuff into a css file but left the conditional code (CC) in the
app directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a
linked css file.

Now, the real app that I need to fix uses an application template
with Smarty (I am not familiar with Smarty). It links in a css
file. When I put the CC into the application template (right
before the </head>), I got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Your PHP question is???

From http://en.wikipedia.org/wiki/Smarty

"Smarty is a web template system written in PHP."

Since my error is in Smarty, and I researched and found the above
line, I added comp.lang.php to the other two groups.

Now I will repeat my question:

"My question is, how do I get the CC into the app page in this
configuration (and for Jerry: which fails in Smarty)?"




So? Both Windows and Linux were written in C. By your logic, Windows
and Linux administrative and usage questions should be asked in a C
programmers group.

If you have Smarty questions, ask in the Smarty support forums.

I repeat. What is your PHP question?


The last post in any of the three Smarty forums was on Jan 4. Not much
chance of getting an answer there!

So, Jerry, bitch all you want, but I will still post it here, as this,
and the alt.html and comp.lang.javascript, are my best shots at reaching
someone who knows about Smarty and can help me -- whether or not it is
strictly on topic.
I figured out how to not make it choke on the conditional code. I
surrounded that code with {literal} {/literal}. However, it doesn't
bring in that code.


Reply With Quote
  #10  
Old   
Jerry Stuckle
 
Posts: n/a

Default Re: More on position fixed - 08-11-2008 , 10:59 PM



sheldonlg wrote:
Quote:
Jerry Stuckle wrote:
sheldonlg wrote:
Jerry Stuckle wrote:
sheldonlg wrote:
BootNic wrote:
On Sat, 09 Aug 2008 22:55:52 -0400
sheldonlg <sheldonlg> wrote in:
AvSdnSFsRJWNxAPVnZ2dnUVZ_u6dnZ2d (AT...news (DOT) com

[snip]
Perhaps you can give me some suggestions.

Emulate position fixed example.
http://tinyurl.com/5n5h6e


Thanks. That worked on all three browsers. Now I have a problem
putting it into my real app.

First, I put the javascript into a separate file. I also put the
css stuff into a css file but left the conditional code (CC) in the
app directly. That all still worked.
===> http://www.sheldonlg.com/popup/popupLoc5.html

Then I tried putting the CC into the css file. That no longer worked.
===> http://www.sheldonlg.com/popup/popupLoc6.html

That told me that the CC had to be in the app page and not in a
linked css file.

Now, the real app that I need to fix uses an application template
with Smarty (I am not familiar with Smarty). It links in a css
file. When I put the CC into the application template (right
before the </head>), I got an error:

Fatal error: Smarty error: [in application_container.tpl line 14]:
syntax error: unrecognized tag: position: absolute;
followed by a traceback dump.

My question is, how do I get the CC into the app page in this
configuration?




Your PHP question is???

From http://en.wikipedia.org/wiki/Smarty

"Smarty is a web template system written in PHP."

Since my error is in Smarty, and I researched and found the above
line, I added comp.lang.php to the other two groups.

Now I will repeat my question:

"My question is, how do I get the CC into the app page in this
configuration (and for Jerry: which fails in Smarty)?"




So? Both Windows and Linux were written in C. By your logic, Windows
and Linux administrative and usage questions should be asked in a C
programmers group.

If you have Smarty questions, ask in the Smarty support forums.

I repeat. What is your PHP question?


The last post in any of the three Smarty forums was on Jan 4. Not much
chance of getting an answer there!

So, Jerry, bitch all you want, but I will still post it here, as this,
and the alt.html and comp.lang.javascript, are my best shots at reaching
someone who knows about Smarty and can help me -- whether or not it is
strictly on topic.

And you'll continue to prove you're a clueless idiot.

You didn't even try the smarty support forums, did you.

And I'll keep telling you this is not the place to ask such questions.
Notice how many people are answering you? That should be your second clue.



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex (AT) attglobal (DOT) net
==================



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.