HighDots Forums  

Template behavior problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Template behavior problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tine Müller
 
Posts: n/a

Default Template behavior problem - 07-16-2004 , 02:18 AM






When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work. :-(

<td width="31%" valign="middle">Sidste nyt - <a href="javascript:; "
onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br>


What have I done wrong, please help?


--
/Tine



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Template behavior problem - 07-16-2004 , 08:29 AM






Tine:

Try linking to that file using root relative links. The problem is this -
since you have used a 3rd party behavior, DW is not recognizing that link
and is not managing it in the template child pages.

In other words, in the Template, change this -

Lvl_openWin('../sidste_nyt.html'

to this -

Lvl_openWin('/baadfarten/sidste_nyt.html'

and see what happens.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote

Quote:
When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work. :-(

td width="31%" valign="middle">Sidste nyt - <a href="javascript:;
"

onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br


What have I done wrong, please help?


--
/Tine





Reply With Quote
  #3  
Old   
Tine Müller
 
Posts: n/a

Default Re: Template behavior problem - 07-16-2004 , 09:39 AM



Murray:

It's functioning, thanks. But will it also be ok when I'm finished with the
site and are uploading it to my customer's webhotel?

/Tine




"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8hn7$cb6$1 (AT) forums (DOT) macromedia.com...
Quote:
Tine:

Try linking to that file using root relative links. The problem is this -
since you have used a 3rd party behavior, DW is not recognizing that link
and is not managing it in the template child pages.

In other words, in the Template, change this -

Lvl_openWin('../sidste_nyt.html'

to this -

Lvl_openWin('/baadfarten/sidste_nyt.html'

and see what happens.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd7rul$ed3$1 (AT) forums (DOT) macromedia.com...
When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work. :-(

td width="31%" valign="middle">Sidste nyt - <a
href="javascript:;
"


onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br


What have I done wrong, please help?


--
/Tine







Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Template behavior problem - 07-16-2004 , 09:45 AM



If the folder structure is exactly the same, yes, it will work fine.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote

Quote:
Murray:

It's functioning, thanks. But will it also be ok when I'm finished with
the
site and are uploading it to my customer's webhotel?

/Tine




"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8hn7$cb6$1 (AT) forums (DOT) macromedia.com...
Tine:

Try linking to that file using root relative links. The problem is
this -
since you have used a 3rd party behavior, DW is not recognizing that
link
and is not managing it in the template child pages.

In other words, in the Template, change this -

Lvl_openWin('../sidste_nyt.html'

to this -

Lvl_openWin('/baadfarten/sidste_nyt.html'

and see what happens.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO
GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd7rul$ed3$1 (AT) forums (DOT) macromedia.com...
When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work. :-(

td width="31%" valign="middle">Sidste nyt - <a
href="javascript:;
"



onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br


What have I done wrong, please help?


--
/Tine









Reply With Quote
  #5  
Old   
Tine Müller
 
Posts: n/a

Default Re: Template behavior problem - 07-17-2004 , 05:24 AM



I only tested the site offline and when I uploaded the site the links are
not functioning. :-(
Do I have to make the link absolute
http://www.tinemuller.dk/baadfarten/sidste_nyt.html to functioning and then
remember to change the address when uploading to the customer?

Quote:
The problem is this - since you have used a 3rd party behavior, DW is not
recognizing that
link and is not managing it in the template child pages.
What do you mean with "3rd party behavior"? Is there a site where I can read
about this problem?


--
/Tine

"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8m6a$i9f$1 (AT) forums (DOT) macromedia.com...
Quote:
If the folder structure is exactly the same, yes, it will work fine.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd8lqd$hoa$1 (AT) forums (DOT) macromedia.com...
Murray:

It's functioning, thanks. But will it also be ok when I'm finished with
the
site and are uploading it to my customer's webhotel?

/Tine




"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8hn7$cb6$1 (AT) forums (DOT) macromedia.com...
Tine:

Try linking to that file using root relative links. The problem is
this -
since you have used a 3rd party behavior, DW is not recognizing that
link
and is not managing it in the template child pages.

In other words, in the Template, change this -

Lvl_openWin('../sidste_nyt.html'

to this -

Lvl_openWin('/baadfarten/sidste_nyt.html'

and see what happens.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO
GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd7rul$ed3$1 (AT) forums (DOT) macromedia.com...
When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt
the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work. :-(

td width="31%" valign="middle">Sidste nyt - <a
href="javascript:;
"




onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br


What have I done wrong, please help?


--
/Tine











Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Template behavior problem - 07-19-2004 , 02:23 PM



Tine:

*If your local and your remote sites have the identical structure from root
level down* and *if your root relative links work locally*, then they will
work remotely.

Quote:
Do I have to make the link absolute
http://www.tinemuller.dk/baadfarten/sidste_nyt.html to functioning and
then
remember to change the address when uploading to the customer?
No.

Quote:
What do you mean with "3rd party behavior"? Is there a site where I can
read
about this problem?
3rd party behavior is one by someone other than Macromedia.

Here's an example of what I mean. If you apply an OpenBrowserWindow
behavior to a page, it won't matter where you save that page in your site's
folder hierarchy, because DW knows how to find "MM_openBrWindow" so that it
can adjust the link to the specified page. But if you would change the call
on the event from "MM_openBrWindow" to "openBrWindow" then DW will not find
the link, and will not manage it (I think).

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote

Quote:
I only tested the site offline and when I uploaded the site the links are
not functioning. :-(
Do I have to make the link absolute
http://www.tinemuller.dk/baadfarten/sidste_nyt.html to functioning and
then
remember to change the address when uploading to the customer?

The problem is this - since you have used a 3rd party behavior, DW is
not
recognizing that
link and is not managing it in the template child pages.

What do you mean with "3rd party behavior"? Is there a site where I can
read
about this problem?


--
/Tine

"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8m6a$i9f$1 (AT) forums (DOT) macromedia.com...
If the folder structure is exactly the same, yes, it will work fine.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO
GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd8lqd$hoa$1 (AT) forums (DOT) macromedia.com...
Murray:

It's functioning, thanks. But will it also be ok when I'm finished
with
the
site and are uploading it to my customer's webhotel?

/Tine




"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> skrev i en meddelelse
news:cd8hn7$cb6$1 (AT) forums (DOT) macromedia.com...
Tine:

Try linking to that file using root relative links. The problem is
this -
since you have used a 3rd party behavior, DW is not recognizing that
link
and is not managing it in the template child pages.

In other words, in the Template, change this -

Lvl_openWin('../sidste_nyt.html'

to this -

Lvl_openWin('/baadfarten/sidste_nyt.html'

and see what happens.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY
TO
GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM)
Technotes
==================

"Tine Müller" <tinem (AT) email (DOT) dk> wrote in message
news:cd7rul$ed3$1 (AT) forums (DOT) macromedia.com...
When you click on "Se her!" (sidste_nyt.html) from dwt
http://www.tinemuller.dk/baadfarten/Templates/baadfarten_index.dwt
the
window open with the behavior
but if you click on the children's pages
http://www.tinemuller.dk/baadfarten/index.html it doesn't work.
:-(

td width="31%" valign="middle">Sidste nyt - <a
href="javascript:;
"





onClick="Lvl_openWin('../sidste_nyt.html','','400','300','0','0','1','width =
400,height=300')">Se
her&nbsp;!</a><br


What have I done wrong, please help?


--
/Tine













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 - 2009, Jelsoft Enterprises Ltd.