Tabbed Pannel keeps collapsing

Hi, on  my page I have a tabbed pannel.  One tab has 8 child tabs in it and the others have forms or info.
All the tabs work great all info show up no problems.  Two of the tabs,registration and contact us, have forms on them and the message board you can post comments on them.  The forms all work fine I get emails with the form info and the message board works fine the new comments show up.  Here is where my problem lies. 
Now when I hit submit on the 2 forms and post on the message board my page refreshes and I get taken back to my home page when my site first launches.(just screen shots of top of pages)
So when I hit post I get redirected to my home page(below).
When I go back in to the message boardtab  my new comment is there.   How do I get my page to refresh while staying in the message board tab.
As for posting code I am not sure of what to post.  When I hit post it triggers my form action is as follows:
<form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
Here is the $editFormAction code:
$currentPage = $_SERVER["PHP_SELF"];
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
  $insertSQL = sprintf("INSERT INTO comments (comment_by, email, `comment`) VALUES (%s, %s, %s)",
                       GetSQLValueString($_POST['name'], "text"),
                       GetSQLValueString($_POST['email'], "text"),
                       GetSQLValueString($_POST['Comment'], "text"));
  mysql_select_db($database_conComments, $conComments);
  $Result1 = mysql_query($insertSQL, $conComments) or die(mysql_error());
  $insertGoTo = "IndexMain.php";
  if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
  header(sprintf("Location: %s", $insertGoTo));
$pageNum_rsComments = 0;
if (isset($_GET['pageNum_rsComments'])) {
  $pageNum_rsComments = $_GET['pageNum_rsComments'];
$startRow_rsComments = $pageNum_rsComments * $maxRows_rsComments;
Now when I created the insert record it asked me what page to goto after.  How do I get it to refresh but stay on the same tab?
Thanks winrol

Hi Phil,
I am still having problems with this.  I changed my submit button into a unorderd list.  But how do I get the post text to act like a submit button with out attaching a link to it.  I was looking at the code for the page you suggested I look at and there was no link attribute just id and title.  My page does not use a spry data set. and my form never sent an action to another php it just called the edit formaction function.  I also add the your code to the bottom of my page.  Here is my code for my page.( I have stripped down all the infor from the other pages to reduce the size of text to post)
<?php require_once('Connections/conComments.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;   
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  return $theValue;
$currentPage = $_SERVER["PHP_SELF"];
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
  $insertSQL = sprintf("INSERT INTO comments (comment_by, email, `comment`) VALUES (%s, %s, %s)",
                       GetSQLValueString($_POST['name'], "text"),
                       GetSQLValueString($_POST['email'], "text"),
                       GetSQLValueString($_POST['Comment'], "text"));
  mysql_select_db($database_conComments, $conComments);
  $Result1 = mysql_query($insertSQL, $conComments) or die(mysql_error());
  $insertGoTo = "IndexMain.php";
  if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
  header(sprintf("Location: %s", $insertGoTo));
$pageNum_rsComments = 0;
if (isset($_GET['pageNum_rsComments'])) {
  $pageNum_rsComments = $_GET['pageNum_rsComments'];
$startRow_rsComments = $pageNum_rsComments * $maxRows_rsComments;
mysql_select_db($database_conComments, $conComments);
$query_rsComments = "SELECT * FROM comments ORDER BY comment_on DESC";
$rsComments = mysql_query($query_rsComments, $conComments) or die(mysql_error());
$row_rsComments = mysql_fetch_assoc($rsComments);
$totalRows_rsComments = mysql_num_rows($rsComments);mysql_select_db($database_conComments, $conComments);
$query_rsComments = "SELECT * FROM comments ORDER BY comment_on DESC";
$rsComments = mysql_query($query_rsComments, $conComments) or die(mysql_error());
$row_rsComments = mysql_fetch_assoc($rsComments);
$totalRows_rsComments = mysql_num_rows($rsComments);
$queryString_rsComments = "";
if (!empty($_SERVER['QUERY_STRING'])) {
  $params = explode("&", $_SERVER['QUERY_STRING']);
  $newParams = array();
  foreach ($params as $param) {
    if (stristr($param, "pageNum_rsComments") == false &&
        stristr($param, "totalRows_rsComments") == false) {
      array_push($newParams, $param);
  if (count($newParams) != 0) {
    $queryString_rsComments = "&" . htmlentities(implode("&", $newParams));
$queryString_rsComments = sprintf("&totalRows_rsComments=%d%s", $totalRows_rsComments, $queryString_rsComments);
?>
<?php if(isset($_POST['iAgree'])=="-1"){
$disable=true;
} else {
$disable=false;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
<link href="test.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p> </p>
<div id="TabbedPanels1" class="TabbedPanels">
  <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0">Home</li>
    <li class="TabbedPanelsTab" tabindex="0">Camps</li>
    <li class="TabbedPanelsTab" tabindex="0">Apperances</li>
    <li class="TabbedPanelsTab" tabindex="0">Contact Us</li>
    <li class="TabbedPanelsTab" tabindex="0">Message Board</li>
    <li class="TabbedPanelsTab" tabindex="0">Registration</li>
  </ul>
  <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">Content 1</div>
    <div class="TabbedPanelsContent">
      <div id="TabbedPanels2" class="TabbedPanels">
        <ul class="TabbedPanelsTabGroup">
          <li class="TabbedPanelsTab" tabindex="0">2004</li>
          <li class="TabbedPanelsTab" tabindex="0">2005</li>
          <li class="TabbedPanelsTab" tabindex="0">2006</li>
          <li class="TabbedPanelsTab" tabindex="0">2007</li>
          <li class="TabbedPanelsTab" tabindex="0">2008</li>
          <li class="TabbedPanelsTab" tabindex="0">2009</li>
          <li class="TabbedPanelsTab" tabindex="0">2010</li>
          <li class="TabbedPanelsTab" tabindex="0">1011</li>
        </ul>
        <div class="TabbedPanelsContentGroup">
          <div class="TabbedPanelsContent">Content 1</div>
          <div class="TabbedPanelsContent">Content 2</div>
          <div class="TabbedPanelsContent">Content 3</div>
          <div class="TabbedPanelsContent">Content 4</div>
          <div class="TabbedPanelsContent">Content 5</div>
          <div class="TabbedPanelsContent">Content 6</div>
          <div class="TabbedPanelsContent">Content 7</div>
          <div class="TabbedPanelsContent">Content 8</div>
        </div>
      </div>
      <p> </p>
    </div>
    <div class="TabbedPanelsContent">Apperances Page</div>
    <div class="TabbedPanelsContent">Contact Us form page</div>
    <div class="TabbedPanelsContent">
      <div class="sidebar1">
<div class="Comment_Form">
    <form id="repyform" name="repyform" method="POST" action="<?php echo $editFormAction; ?>">
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="23"> </td>
        <td> </td>
      </tr>
      <tr height:"10">
        <td>Comment:</td>
        <td> </td>
      </tr>
      <tr>
        <td><span id="sprytextarea1">
          <textarea name="Comment" cols="25" rows="2"></textarea>
          <span class="textareaRequiredMsg">A value is required.</span></span></td>
        <td> </td>
      </tr>
      <tr>
        <td>Name:</td>
        <td> </td>
      </tr>
      <tr>
        <td><span id="sprytextfield1">
          <input name="name" type="text" size="25" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        <td> </td>
      </tr>
      <tr>
        <td>Email:</td>
        <td> </td>
      </tr>
      <tr>
        <td><span id="sprytextfield2">
        <input name="email" type="text" size="25" /><br />
        <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span><br />
        </td>
        <td><ul class="nav">
        <li id="postreply">
                Post
                </li>
            </ul>
       </td>
      </tr>
      <tr class="Comment_Time_LogIn">
        <td>Log In</td>
        <td> </td>
      </tr>
      <tr class="Comment_Time_LogIn">
        <td> </td>
        <td> </td>
      </tr>
    </table>
    <input type="hidden" name="MM_insert" value="form1" />
    </form>
    </div>
    <p>  </p>
    <p> </p>
  <!-- end .sidebar1 --></div>
  <div  class="content">
    <?php do { ?>
        <?php if ($totalRows_rsComments > 0) { // Show if recordset not empty ?>
  <div class="Comment">
    <table width="350" border="0" cellpadding="5" cellspacing="0">
      <tr>
        <td>
                    Comment:
                    </td>
        </tr>
      <tr>
        <td><textarea name="comments" cols="35" rows="3" readonly="readonly"><?php echo $row_rsComments['comment']; ?></textarea>
                    </td>
                </tr>
      <tr class="Comment_Time_name">
        <td>
          By: <?php echo $row_rsComments['comment_by']; ?><br />
          <?php echo $row_rsComments['comment_on']; ?>
                   </td>
        </tr>
      </table>
  </div>
  <?php } else { echo "No Comments Available at this time";}// Show if recordset not empty ?>
<?php } while ($row_rsComments = mysql_fetch_assoc($rsComments)); ?>
<p> </p>
        <div class="clearfloat"></div>
        <div align="center">
        <table border="0">
   <tr>
      <td><?php if ($pageNum_rsComments > 0) { // Show if not first page ?>
          <a href="<?php printf("%s?pageNum_rsComments=%d%s", $currentPage, 0, $queryString_rsComments); ?>">First</a>
          <?php } // Show if not first page ?></td>
      <td><?php if ($pageNum_rsComments > 0) { // Show if not first page ?>
          <a href="<?php printf("%s?pageNum_rsComments=%d%s", $currentPage, max(0, $pageNum_rsComments - 1), $queryString_rsComments); ?>">Previous</a>
          <?php } // Show if not first page ?></td>
      <td><?php if ($pageNum_rsComments < $totalPages_rsComments) { // Show if not last page ?>
          <a href="<?php printf("%s?pageNum_rsComments=%d%s", $currentPage, min($totalPages_rsComments, $pageNum_rsComments + 1), $queryString_rsComments); ?>">Next</a>
          <?php } // Show if not last page ?></td>
      <td><?php if ($pageNum_rsComments < $totalPages_rsComments) { // Show if not last page ?>
          <a href="<?php printf("%s?pageNum_rsComments=%d%s", $currentPage, $totalPages_rsComments, $queryString_rsComments); ?>">Last</a>
          <?php } // Show if not last page ?></td>
    </tr>
  </table>
        </div>
    <!-- end .content --></div>
    </div>
    <div class="TabbedPanelsContent">Registrion form Page</div>
  </div>
</div>
<script type="text/javascript">
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2");
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1");
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "email");
</script>
    <script type="text/javascript">
    Spry.$$('#postreply').addEventListener('click',postreply,false);
function postreply()
    if (Spry.Widget.Form.validate(Spry.$$('#replyform')[4]) == true)
    Spry.Utils.submitForm('replyform', updateReplyDiv, {method:'post',url:'indexmain.php'});
</script>
</body>
</html>
my css file
@charset "UTF-8";
/* CSS Document */
@charset "UTF-8";
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
color: #000;
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px;
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #42413C;
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
a:visited {
color: #6E6C64;
text-decoration: underline;
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
/* ~~this fixed width container surrounds the other divs~~ */
.container {
width: 960px;
margin: 0 auto;
background-image: url(football41.jpg);
/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.header {
background-color: #060;
height: 75px;
background-image: url(Images/field.jpg);
/* ~~ These are the columns for the layout. ~~
1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
.sidebar1 {
float: right;
width: 40%;
padding-bottom: 10px;
text-align: left;
.content {
padding: 10px 0;
width: 60%;
float: left;
.content_Comments {
width: 60%;
float: none;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0;
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
padding: 0; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
list-style-type: none;
/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
list-style: none; /* this removes the list marker */
border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
margin-bottom: 15px; /* this creates the space between the navigation on the content below */
ul.nav li {
/* [disabled]border-bottom: 1px solid #666; */ /* this creates the button separation */
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
padding: 5px 5px 5px 15px;
display: inline; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
text-decoration: none;
background: #C6D580;
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
background: #ADB96E;
color: #FFF;
/* ~~ The footer ~~ */
.footer {
padding: 10px 0;
background: #060;
position: relative;/* this gives IE6 hasLayout to properly clear */
clear: both;
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
div.img
height:auto;
text-align:center;
width: auto;
/* [disabled]float: left; */
margin: 20px;
div.imgs
height:auto;
width:auto;
float:left;
text-align:center;
margin: 20px;
div.emptyimgs {
height:auto;
width:auto;
float:left;
text-align:center;
margin: 12px;
div.img img
display:inline;
margin:15px;
border:1px solid #ffffff;
-moz-box-shadow: 5px 5px 5px #060;
-webkit-box-shadow: 5px 5px 5px #060;
zoom: 1;
filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color=#C4AF3A, Positive='true');
-ms-filter:progid:DXImageTransform.Microsoft.Blur(pixelredius=10);
div.imgs img
display:inline;
margin:14px;
border:1px solid #ffffff;
-moz-box-shadow: 5px 5px 5px #060;
-webkit-box-shadow: 5px 5px 5px #060;
zoom:1;
filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color=#C4AF3A, Positive='true');
-ms-filter:progid:DXImageTransform.Microsoft.Blur(pixelredius=10);
  div.img a:hover img
border:1px solid #060;
div.desc
text-align:center;
font-weight:normal;
width:auto;
margin:2px;
color: #000000;
.container .content #TabbedPanels1 .TabbedPanelsContentGroup .TabbedPanelsContent.TabbedPanelsContentVisible #form1 p label {
text-align: left;
display: block;
float: left;
margin-right: 5px;
width: 180px;
.container .content #TabbedPanels1 .TabbedPanelsContentGroup .TabbedPanelsContent.TabbedPanelsContentVisible div #frmContactUs p label {
text-align: left;
display: block;
float: left;
width: 150px;
margin-right: 5px;
.container .content #TabbedPanels1 .TabbedPanelsContentGroup .TabbedPanelsContent.TabbedPanelsContentVisible div #form1 {
text-align: left;
padding-left: 17px;
.Comment  {
float: right;
width: 300px;
-moz-box-shadow: inset 0 0 5px 5px #060;
-webkit-box-shadow: inset 0 0 5px 5px #060;
box-shadow: inset 0 0 5px 5px #060;
padding-left: 17px;
border-radius: 10px;
-moz-border-radius: 10px;
text-align: left;
margin-right: 100px;
/* [disabled]overflow: hidden; */
padding-right: 17px;
background-color: #FFF;
.Comment_Form {
float: left;
width: auto;
-moz-box-shadow: inset 0 0 5px 5px #060;
-webkit-box-shadow: inset 0 0 5px 5px #060;
box-shadow: inset 0 0 5px 5px #060;
border-radius: 10px;
-moz-border-radius: 10px;
padding-right: 17px;
padding-left: 17px;
background-color: #FFF;
.Comment_Time_name {
font-size: 12px;
.Comment_Time_LogIn {
font-size: 9px;
Thanks winrol

Similar Messages

  • I was loading a big file of photos from iPhoto to Adobe Photoshop CS3 and it keep collapsing, yet each time I reopen photoshop it load the photos again and cal laps again. is there a way to stop this cycle?

    I was loading a big file of photos from iPhoto to Adobe Photoshop CS3 and more then midway it keep collapsing, yet each time I re-open photoshop to load a small amount of photos, it load the previous photos again, and again it collapse. is there a way to stop this cycle and start a new?

    http://helpx.adobe.com/photoshop.html

  • How do i delete a tab and can I delete a tab and keep it as an apptab?

    how do i delete a tab and can I delete a tab and keep it as an apptab

    What to do if you sell or give away iPad.
    http://support.apple.com/kb/HT5661

  • Tabbed Pannel inside a tabbed panel..

    Any one able to get this to work, it renders OK, but the tabbes are not clickcable...
    http://video360-node2.world-television.com/CCOH/concept_v2.html?siteID=SmWpHNYUbcA%3d&stor yID=129&Language=en-GB&Asset=2059#2044
    Click on the preview button on the assets below to see the red tabbed pannel not working..
    Please Help?
    Thanks

    I was working on a solution for your first post, then I saw your second post with a completely different tabbed panel.
    Because I wasn't sure which way you wanted to go, I thought I would continue with the second option.
    Try the following taking special not of the red coloured modifications
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>
      </p>
      <div id="TabbedPanels2_2">
        <h3>Tab 1</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
        <h3>Tab 2</h3>
        <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
        <h3>Tab 3</h3>
        <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
      </div>
      <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2_2
            var TabbedPanels2_2 = new Spry.Widget.TabbedPanels2("TabbedPanels2_2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2_2",
                autoPlay: true,
                defaultTab: 0,
                tabSelector: "h3",
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
      </script>
      <p></p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: true,
                defaultTab: 0,
               tabSelector: "h2",
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    I hope this helps.
    Ben

  • Spry Tabbed Pannel Trouble

    Sorry for the newbie question, but I'm really in a bind right
    now. I am using a spry tabbed pannel on my company's website that
    I'm in the process of designing, and yesterday it worked perfectly.
    At the end of the day yesterday, I did something and I'm not sure
    what did it exactly, and now when I test it in the browser, I click
    on one tab it shows me the contents of the wrong tab.
    To try and paint a picture, I work for a small communications
    company/ISP, so I have tabs for "home" "internet" "telus mobility"
    "bell expressvu" "products" "about us".
    Everything works left of "telus mobility". Once I click on
    the telus one, it comes up blank. When I click on "bell expressvu"
    the telus page comes up. When I click on "products" it comes up
    blank. When I click on "About us" the telus page comes up.
    I've tried making a new page and copying and pasting the
    contents of the screwed up tab, but that just came up with the same
    problems, so I'm thinking the problem is with the contents, and not
    necessarily the CSS coding, but then again, I'm a total newbie and
    I could be way off base. If anyone has any ideas I'm totally open
    to hearing them. If you want to look at the page, I'd be happy to
    send you the root folder.
    I guess another option for me would be to just write the
    whole page out again, which I guess wouldn't be the end of the
    world, and might be faster. I was just hoping someone might have
    had this problem before and knows what to do.
    Thanks so much in advance.
    -caleb

    Post a link to the page, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "calskin" <[email protected]> wrote in
    message
    news:fp4ive$b0i$[email protected]..
    > Sorry for the newbie question, but I'm really in a bind
    right now. I am
    > using
    > a spry tabbed pannel on my company's website that I'm in
    the process of
    > designing, and yesterday it worked perfectly. At the end
    of the day
    > yesterday,
    > I did something and I'm not sure what did it exactly,
    and now when I test
    > it in
    > the browser, I click on one tab it shows me the contents
    of the wrong tab.
    >
    > To try and paint a picture, I work for a small
    communications company/ISP,
    > so
    > I have tabs for "home" "internet" "telus mobility" "bell
    expressvu"
    > "products"
    > "about us".
    >
    > Everything works left of "telus mobility". Once I click
    on the telus one,
    > it
    > comes up blank. When I click on "bell expressvu" the
    telus page comes up.
    > When I click on "products" it comes up blank. When I
    click on "About us"
    > the
    > telus page comes up.
    >
    > I've tried making a new page and copying and pasting the
    contents of the
    > screwed up tab, but that just came up with the same
    problems, so I'm
    > thinking
    > the problem is with the contents, and not necessarily
    the CSS coding, but
    > then
    > again, I'm a total newbie and I could be way off base.
    If anyone has any
    > ideas
    > I'm totally open to hearing them. If you want to look at
    the page, I'd be
    > happy to send you the root folder.
    >
    > I guess another option for me would be to just write the
    whole page out
    > again,
    > which I guess wouldn't be the end of the world, and
    might be faster. I
    > was
    > just hoping someone might have had this problem before
    and knows what to
    > do.
    >
    > Thanks so much in advance.
    >
    > -caleb
    >

  • How to stop an "Add-ons Manager" tab that keeps appearing every time I open a new web page ?

    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....

    ''arcadiune [[#question-1052917|said]]''
    <blockquote>
    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....
    </blockquote>
    Solved it shortly afterwards thanks as I realised it must have happened when I refreshed Firefox, so went through the process again and found the boxes for tabs already pre-ticked so cancelled them. Would have been a lot easier though had it been left as an option to tick as I assumed it was another safeguard leaving me with no idea what had happened....
    Anyway thanks :-)

  • HT204416 safari though I blocked the pop tabs I keep getting the home page is always unconfigures and does not let me banks I do?

    safari though I blocked the pop tabs I keep getting the home page is always unconfigures and does not let me banks I do?

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Fire fox won't let me open up in new tab it keeps opening in newwindow

    Fire fox won't let me open up websites in new tab it keeps opening in a new window.

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r45
    # Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Spry tabbed pannels

    How do i make spry tabbed pannels automaticaly switch between tabbed panels every few seconds?

    http://forums.adobe.com/thread/119099

  • Spry Tabbed Pannels - Moving the tabs down

    I am trying to learn Spry tabbed pannels. i opened dreamweaver and inserted a div and then a spry tabbed pannels into the div.
    How do i move the tab 1, tab 2 ect.. down so its not above the changing content but rather hovering over it.
    I am trying to create a simple efect where when you press each tab, it changes the picture, but i want the buttons to hover over the picture.
    thank you in advance

    Ok but to make that specific modification, what style sheet do i edit? spry creates several

  • Why does my tab name keeps saying 'Connecting...' when page is already done? It does not display the websites' name.

    Whenever I open a website in a different tab, it keeps on saying 'Connecting...' when the page is already done. And it wouldn't display the web pages' name. This is really hard for me to identify the different websites.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Tab section keeps rising when I'm using touchpad on Satellite C70-B

    When I'm using the touchpad, the Tab section keeps rising blocking a third of the screen.  How do I disable this?

    Guess what?
    Its hard to believe that all this issues would be related to one general problem.
    For example the described internet explorer issues sounds to me like a slow internet connection. Probably the internet browsers are not able to load all the video data (probably in HD resolution) and therefore the video start to play using lower resolution.
    The touchpad supports some additional features which could be configured within the ELAN settings. (control panel -> mouse -> ELan settings in last tab)
    If you dont use all the touchpad features, I would recommend you to disable the options in the Elan configuration menu.
    Some issues sound also like the system would be locked for a short time.
    Why? Im not quite sure about that but maybe some application run in the background and lock the system for a while.
    Im wondering if you already tried to recover the notebook back to factory settings.
    If not; try it out. Feedback would be appreciated.

  • Cannot open htlm file firefox opens new tab and keeps asking to open or save file ran malware bytes no problems found

    When trying to open an html file firefox keeps opening the open file dialog in a new tab. I have run malware byte with no success.
    The file never opens.
    Finally refreshed Firefox problem resolved...

    I am happy to hear that you solved it I will lock the thread.

  • Powershell ISE – change indent/tab size + keep tabs

    Anyway to change indent/tab size in Powershell ISE?
    Something simple like in Visual studio IDE:
    Tab size 2
    Indent size 2
    Keep tabs

    Figured I'd share the changes I made to NoSimDash's above code. I actually wrote this not long after he posted his reply, but decided not to post it after I settled on taking the cheap, hacky timer route. (Originally I was looking to have the process triggered
    by an event when the user changed tabs)
    Anyways, over the last two years it's been pretty stable, so I thought I'd share on the off-chance that someone goes looking for this functionality again.
    $psISE.Options.ShowOutlining = $true
    $psISE.Options.ShowDefaultSnippets = $true
    $psISE.Options.ShowIntellisenseInScriptPane = $true
    $psISE.Options.ShowIntellisenseInConsolePane = $true
    Set-Variable -Option AllScope -Name OptionSetter -Value (&{
    $ClassName = 'IndentFixer'
    $Namespace = 'ISEHijack'
    Add-Type @"
    internal class _Option<TValue>
    public _Option(string key, TValue value)
    Key = key;
    Value = value;
    public Object[] Params { get { return new object[] { Key, Value }; } }
    public string Key { get; private set; }
    public TValue Value { get; private set; }
    internal static object[] Opt<TVal>(string key, TVal value)
    return new _Option<TVal>(key, value).Params;
    internal static readonly object[][] NewOpts = {
    Opt<bool>("Adornments/HighlightCurrentLine/Enable", false),
    Opt<int>("Tabs/TabSize", 4),
    Opt<int>("Tabs/IndentSize", 4),
    Opt<bool>("Tabs/ConvertTabsToSpaces", false),
    Opt<bool>("TextView/UseVirtualSpace", false),
    Opt<bool>("TextView/UseVisibleWhitespace", true)
    internal void SetOpts()
    foreach(object[] args in NewOpts) {
    Setter.Invoke(Options, args);
    public MethodInfo Setter { get; set; }
    public object Options { get; set; }
    public Dispatcher EditorDispatcher { get; set; }
    public List<Action> Actions { get; private set; }
    public ${ClassName}()
    Actions = new List<Action>();
    Actions.Add(SetOpts);
    public void Dispatch(Dispatcher dispatcher)
    DispatcherFrame frame = new DispatcherFrame();
    dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(ExitFrames), frame);
    Dispatcher.PushFrame(frame);
    private object ExitFrames(object f){
    DispatcherFrame frame = ((DispatcherFrame)f);
    // foreach(Action action in Actions) {
    // action.Invoke();
    // Actions.Clear();
    foreach(object[] args in NewOpts) {
    Setter.Invoke(Options, args);
    frame.Continue = false;
    return null;
    "@ -Name $ClassName `
    -NameSpace $Namespace `
    -UsingNamespace System.Windows.Forms,System.Windows.Threading,System.Reflection,Microsoft.VisualStudio.Text.EditorOptions.Implementation,System.Collections.Generic `
    -ReferencedAssemblies WindowsBase,System.Windows.Forms,Microsoft.PowerShell.Editor
    return `
    "${Namespace}.${ClassName}" |
    Add-Member -Type NoteProperty -Name Namespace -Value $Namespace -Passthru |
    Add-Member -Type NoteProperty -Name ClassName -Value $ClassName -Passthru
    [System.Reflection.BindingFlags] $NonPublicFlags = [System.Reflection.BindingFlags] 'NonPublic,Instance'
    filter Expand-Property
    PARAM(
    [Alias('Property')]
    [ValidateNotNullOrEmpty()]
    [Parameter(Mandatory, Position=0)]
    [String] $Name
    $_ | Select-Object -ExpandProperty $Name | Write-Output
    function Get-IsePrefs
    PARAM(
    [Parameter(Mandatory, Position=1)]
    [ValidateNotNullOrEmpty()]
    [string] $Key
    $oEditor = $psISE.CurrentFile.Editor
    $tEditor = $oEditor.GetType()
    $tEditor.GetProperty('EditorOperations', $NonPublicFlags).GetMethod.Invoke($oEditor, $null).Options | `
    Expand-Property GlobalOptions | `
    Expand-Property SupportedOptions | `
    Select-Object -Property Key,ValueType,DefaultValue | `
    Write-Output
    function Comment-Selection
    $output = ''
    $psISE.CurrentFile.Editor.SelectedText.Split("`n") | ForEach-Object -Process { $output += "# " + [string]$_ + "`n" }
    $psISE.CurrentFile.Editor.InsertText($output)
    function Fix-EditorIndentation
    PARAM(
    [Alias('ISEEditor')][ValidateNotNull()]
    [Parameter(Mandatory, ValueFromPipeline, Position=1)]
    [Microsoft.PowerShell.Host.ISE.ISEEditor]
    $Editor
    $EditorType = $Editor.GetType()
    $SetterInstance = New-Object -TypeName $OptionSetter
    $SetterInstance.Options = $EditorType.GetProperty('EditorOperations', $NonPublicFlags).GetMethod.Invoke($Editor, $null).Options
    $Dispatcher = $EditorType.GetProperty('EditorViewHost', $NonPublicFlags).GetMethod.Invoke($Editor, $null).Dispatcher
    $SetterInstance.Setter = $SetterInstance.Options.GetType().GetMethod('SetOptionValue', [type[]]@([string],[object]))
    $SetterInstance.Dispatch($Dispatcher)
    function Fix-IseIndentation
    [Microsoft.Windows.PowerShell.Gui.Internal.MainWindow] $ISEWindow = (Get-Host | Select-Object -ExpandProperty PrivateData | Select-Object -ExpandProperty Window)
    [Microsoft.Windows.PowerShell.Gui.Internal.RunspaceTabControl] $RSTabCtrl = $ISEWindow.Content[0].Children[2]
    [Microsoft.PowerShell.Host.ISE.PowerShellTab] $PSTab = $RSTabCtrl.Items[0]
    $PSTab.Files | Select-Object -ExpandProperty Editor | Fix-EditorIndentation
    function Invoke-ISEFunction
    PARAM(
    [Parameter(Mandatory, Position=1)]
    [Action] $ScriptBlock
    $ISEWindow = $(Get-Host | Select-Object -ExpandProperty PrivateData | Select-Object -ExpandProperty Window)
    return $ISEWindow.Dispatcher.Invoke($ScriptBlock)
    function Fix-IndentationForAll
    $psISE.PowerShellTabs | Select-Object -ExpandProperty 'Files' | Select-Object -ExpandProperty 'Editor' | Fix-EditorIndentation
    # Startup
    function New-Timer
    PARAM(
    [Alias('Handler')]
    [Parameter(Position=0, Mandatory=$true)]
    $Action,
    [Double]
    [Parameter(Mandatory=$false)]
    $Interval = 50,
    [Boolean]
    [Parameter(Mandatory=$false)]
    $AutoReset = $true
    [System.Timers.Timer] $oTimer = New-Object -TypeName System.Timers.Timer($Interval)
    $ElapsedEvent = Register-ObjectEvent -InputObject $oTimer -EventName 'Elapsed' -Action $Action
    $oTimer.AutoReset = $AutoReset
    return $oTimer
    $(New-Timer {
    Fix-IndentationForAll
    } -Interval 100 -AutoReset $true).Start()

  • When I open a new page in a new tab, more tabs just keeps opening but the file/page does not open, why?

    something keeps opening new tabs but does not open the first tab does not open

    Is it a case of runaway blank tabs? One possible cause is if Firefox wants to download something but you instruct Firefox to handle it itself. This article describes how to clear that up: [[Firefox repeatedly opens empty tabs or windows after you click on a link]].
    If they are not blank tabs, do they look like some kind of advertising? You might have a bad add-on. These can slip into your computer as part of a bundle with other software, so I suggest starting here:
    Open the Windows '''Control Panel''', Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    Next, in Firefox, open the '''Add-ons page''' using either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    (1) In the left column, click Plugins. If you find a plugin that you don't recognize or which doesn't sound essential, try setting it to "Never Activate". ''(The most essential Plugin is Shockwave Flash. You can use most sites without the others.)''
    (2) In the left column, click Extensions. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Finally, you can supplement your regular security software and "mop up" any remaining issues with the '''scanning/cleaning tools''' suggested in this support article: [[Troubleshoot Firefox issues caused by malware]]. Those are free and take a long time to run. If they seem to finish quickly and especially if they require a purchase to clean your system, you may have a serious infection. Try the specialized forums listed in the article.
    Success?

Maybe you are looking for