Skip to main content

Bug Tracker

Side navigation

#13589 closed bug (notabug)

Opened March 09, 2013 05:32PM UTC

Closed March 10, 2013 01:39AM UTC

base reload err!

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

url:http://127.0.0.1/test/index.php?action=test

if add code :

<base href="http://127.0.0.1/test/" />

than id="tabs" show reload "/test/" index.php page!!!

<!doctype html>

<html lang="us">

<head>

<meta charset="utf-8">

<title>jQuery UI Example Page</title>

<base href="/test/" />

<link href="css/green/jquery-ui-1.10.1.custom.css" rel="stylesheet">

<script src="js/jquery-1.9.1.js"></script>

<script src="js/jquery-ui-1.10.1.custom.js"></script>

<script>

$(function() {

$( "#tabs" ).tabs();

});

</script>

</head>

<body>

<!-- Tabs -->

<h2 class="demoHeaders">Tabs</h2>

<div id="tabs">

<ul>

<li><a href="#tabs-1">First</a></li>

<li><a href="#tabs-2">Second</a></li>

<li><a href="#tabs-3">Third</a></li>

</ul>

<div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>

<div id="tabs-2">Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.</div>

<div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>

</div>

</body>

</html>

Attachments (0)
Change History (1)

Changed March 10, 2013 01:39AM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

You need to read about how <base> works. See http://bugs.jqueryui.com/ticket/7822