开发者

base href question bypass for one part?

开发者 https://www.devze.com 2023-03-11 00:44 出处:网络
Hi all am in a pickle :P All my code is working fine apart from one small part <body> <?=$loginBar?>

Hi all am in a pickle :P

All my code is working fine apart from one small part

<body> 
 <?=$loginBar?>
<div id="headerMover"> 

Is there anyway I can war开发者_StackOverflowp the

<?=$loginBar?>

Only, In a base href or something like that? all the other code in my file runs at gallery.domain.com and the login part has to be forums.domain.com

I tested this by adding a "base" to the top and it worked for the login part but there rest did not.

So I need to "wrap" or something the same

Cheers


No, there is no way to have multiple base tags on the same page. From the MDC docs:

Must have a start tag, and must not have an end tag

You'll have to use absolute URLs in your header.

0

精彩评论

暂无评论...
验证码 换一张
取 消