Changing  Template Contents by clicking?

I don't know if the title is correct, but this is what I am wanting to know:
I have a php template with menus which open other php pages.  At the top left if my page I have an image with a link to my index.php.  Beside it I have a "HeaderTitle", which just has text in it, that says Welcome.  Below the image I have an accordian menu then under the Headertitle I have a spry horizontal menubar. Under that my content.
Now when someone selects say "Speakers" from one of the menus, it goes to the "Speakers" page, how do I get the "HeaderTitle" to change to say "Speakers"?
Thanks winrol

Ok, I placed the code in the head and body sections, I saved and updated all my web pages based on the template.  When I run the template says welcome
but when I click on Current Events, or any other menu item, the value is empty and nothing shows but the title in the title bar at the top of the window shows the correct title of the page.
Here is my code with the added info, I bolded the added code:
===============
<?php require_once('../Connections/connEMJMarketing.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;
mysql_select_db($database_connEMJMarketing, $connEMJMarketing);
$query_rsCurEvents = "SELECT speakerRequested, event, place, datebooked, starttime, ampm, endtime, ampm2 FROM Bookings ORDER BY datebooked ASC";
$rsCurEvents = mysql_query($query_rsCurEvents, $connEMJMarketing) or die(mysql_error());
$row_rsCurEvents = mysql_fetch_assoc($rsCurEvents);
$totalRows_rsCurEvents = mysql_num_rows($rsCurEvents);
?>
<!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>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<!--set variable and echo value in the title tags-->
<title> <?php $title="Welcome"; echo $title ?>  </title>
<!-- TemplateEndEditable -->
<link href="../NewEMJ.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<style type="text/css">
table {
width: 896px;
color: #D6BD38;
background-image: url(../Images/gold_microphone5.jpg);
background-repeat: no-repeat;
body,td,th {
color: #D6BD38;
body {
background-color: #000;
a:visited {
color: #D6BD38;
a:link {
color: #D6BD38;
</style>
</head>
<body text="#D6BD38" link="#D6BD38" vlink="#D6BD38" alink="#D6BD38">
<div class="container">
  <div class="header"><a href="../home.php"><img src="../Images/EMJ-gold-white.gif" alt="imgEMJ" name="Insert_logo" width="200" height="89" class="header" id="Insert_logo" style="background: #8090AB; display:block;" />
  </a>
    <!-- end .header --></div>
  <div class="header2" id="HeadTitle"><h3><?php echo $title ?></h3></div>
  <div class="sidebar1">
  <p align="center">Select a Speaker for Your Event</p>
<div id="Accordion1" class="Accordion" tabindex="0">
  <div class="AccordionPanel">
    <div class="AccordionPanelTab">Emcee </div>
    <div class="AccordionPanelContent">
      <br/>
      <p><a href="../JohnLynch.php">John Lynch</a></p>
      <p><a href="../MichaelBall.php">Michael Ball</a></p>
      <p><a href="../RodPedersen.php">Rod Pedersen</a></p>
    </div>
  </div>
<div class="AccordionPanel">
  <div class="AccordionPanelTab">Motivational Speakers</div>
    <div class="AccordionPanelContent">
      <br/>
      <p><a href="../BobMolle.php">Bob Molle</a></p>
      <p><a href="../JohnLynch.php">John Lynch</a></p>
      <p><a href="../MattDominguez.php">Matt Dominguez</a></p>
      <p><a href="../RodPedersen.php">Rod Pedersen</a></p>
    </div>
</div>
  <div class="AccordionPanel">
    <div class="AccordionPanelTab">Sports Celebrities</div>
    <div class="AccordionPanelContent">
      <br />
      <p><a href="../AmberHolland.php">Amber Holland</a></p>
      <p><a href="../AngusReid.php">Angus Reid</a></p>
      <p><a href="../DonNarcisse.php">Don Narcisse</a></p>
      <p><a href="../JeremyODay.php">Jeremy O'Day</a></p>
      <p><a href="../MattDominguez.php">Matt Dominguez</a></p>
      <p><a href="../MikeAboumechrek.php">Mike Abou-Mechrek</a></p>
  <p><a href="../NealHughes.php">Neal Hughes</a></p>
  <p><a href="../RobertMimbs.php">Robert Mimbs</a></p>
  <p><a href="../ScottSchultz.php">Scott Schultz</a></p>
    </div>
  </div>
</div>
    <p align="center"><br />
    Check Availability</p>
    <form id="frmAvailabilty" name="frmAvailabilty" method="post" action="../Availability.php">
      <p><span class="fltlft" id="sprytextfield1">
      <label for="date3">Date:</label>
      <input name="dateRequested" type="text" id="date3" size="20" />
      <span class="textfieldRequiredMsg">A value is required.</span>
      <span class="textfieldInvalidFormatMsg">Invalid format.</span></span>
      <span id="spryselect1">
        <label for="speaker">Speaker</label>
  <br />
  <select name="speaker" id="speaker">
<option selected="selected">Select a Speaker</option>
<option value="amberholland">Amber Holland</option>
<option value="angusreid">Angus Reid</option>
<option value="bobmolle">Bob Molle</option>
<option value="donnarcisse">Don Narcisse</option>
<option value="jeremyoday">Jeremy O'Day</option>
<option value="johnlynch">John Lynch</option>
<option value="mattdominguez">Matt Dominguez</option>
<option value="michaelball">Michael Ball</option>
<option value="mikeaboumechrek">Mike Abou-Mechrek</option>
<option value="nealhughes">Neal Hughes</option>
<option value="rodpedersen">Rod Pedersen</option>
<option value="robertmimbs">Robert Mimbs</option>
<option value="scottschultz">Scott Schultz</option>
  </select>
  <span class="selectInvalidMsg">Please select a valid item.</span></span><span><span class="selectRequiredMsg">Please select an item.</span></span> </p>
      <p>
        <input type="submit" name="submit" id="submit" value="Submit" />
      </p>
      <p>
        <textarea name="Available" cols="20" rows="5" readonly="readonly" id="Available">Your Speaker is not booked on that date.  If you wish to book your speaker Contact Us.
          </textarea>
        <label for="notAvailable"></label>
      </p>
      <p>
        <label for="notAvailable"></label>
        <textarea name="notAvailable" cols="20" rows="5" readonly="readonly" id="notAvailable">Sorry, your speaker is booked for that day.  Please select another day.</textarea>
      </p>
      <!-- end .sidebar1 -->
    </form>
  </div>
  <div class="content">
    <ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a href="../OurSpeakers.php" title="Our Speakers" class="MenuBarItemSubmenu">Our Speakers</a>
        <ul>
          <li><a href="../AmberHolland.php" title="Amber Holland">Amber Holland</a></li>
          <li><a href="../AngusReid.php" title="Angus Reid">Angus Reid</a></li>
          <li><a href="../BobMolle.php" title="Bob Molle">Bob Molle</a></li>
          <li><a href="../DonNarcisse.php" title="Don Narcisse">Don Narcisse</a></li>
          <li><a href="../JeremyODay.php" title="Jeremy O'Day">Jeremy O'Day</a></li>
          <li><a href="../JohnLynch.php" title="John Lynch">John Lynch</a></li>
          <li><a href="../MattDominguez.php" title="Matt Dominguez">Matt Dominguez</a></li>
          <li><a href="../MichaelBall.php" title="Michael Ball">Michael Ball</a></li>
          <li><a href="../MikeAboumechrek.php" title="Mike Abou-Mechrek">Mike Abou-Mechrek</a></li>
          <li><a href="../NealHughes.php" title="Neal Hughes">Neal Hughes</a></li>
          <li><a href="../RodPedersen.php" title="Rod Pedersen">Rod Pedersen</a></li>
          <li><a href="../RobertMimbs.php" title="Robert Mimbs">Robert Mimbs</a></li>
          <li><a href="../ScottSchultz.php" title="Scott Schulz">Scott Schultz</a></li>
        </ul>
      </li>
      <li><a href="../CurrentEvents.php" title="Current Events">Current Events</a></li>
      <li><a href="#" title="Events Promotion">Events Promotion</a>      </li>
      <li><a href="#" title="About Us">About Us</a></li>
      <li><a href="#" title="Contact Us">Contact Us</a></li>
    </ul>
    <span class="container"><!-- TemplateBeginEditable name="Main" --><div align="center"><font face="Tahoma, Geneva, sans-serif"><br />
<p><h1>Welcome to EMJ Marketing</p>
</h1>
<h3>
<p>
Are You Looking for an Emcee for Your Event?</p>
<p>
A Speaker for Your Event?</p>
<p>An Autograph Signing?</p>
<p>
Product Endorsement?</p>
<p>
Business Endorsement?</p>
<p>
Motivational Speaker for Your Company and/or Special Project?</p>
<p>
Speaker for Your Trade Show? </p>
<p>
Speaker for Your Fundraiser?</p>
<p>
Event Promotion?</p>
<p>
Event Coordination?</p>
<p>
Then look no further, EMJ Marketing has the right person for the job.</p>
<p>
Click on the navigation bars  for further details.</p></h3></font></div>
<!-- TemplateEndEditable --></span>
    <!-- end .content --></div>
  <div class="footer">
    <p><a href="http://www.facebook.com/pages/EMJ-Marketing/154741607902457?v=wall"><img src="../Images/facebook-logo_sm.jpg" alt="imgFB" width="25" height="25" align="left" /></a><a href="http://twitter.com/emjmarketing"><img src="../Images/twitterlogo_sm.jpg" alt="imgtwitter" width="25" height="25" hspace="5" align="left" /></a>&copy; EMJ Marketing</p>
</div>
  <!-- end .container --></div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
var Accordion1 = new Spry.Widget.Accordion("Accordion1",{useFixedPanelHeights:false,defaultPanel: -1});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1", {invalidValue:"-1"});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "date", {hint:"yyyy-mm-dd", format:"yyyy-mm-dd"});
</script>
</body>
</html>
<?php
mysql_free_result($rsCurEvents);
?>
Thanks Winrol

Similar Messages

  • After upgrading to Maverick, when I double click on the attchment I get this message "...could not be saved, because you cannot change the contents of that fold

    After upgrading to Maverick, when I double click on the attachment I get this message "...could not be saved, because you cannot change the contents of that folder. Change the folder properties and try again, or try saving in a different location." It happens for all types of files.
    Any suggestions as how to fix this?
    I'm on a Mac OS X 10.9.3 with Thunderbird 24.5.0

    Thunderbird > preferences (I think on a mac) and under attachments set the folder

  • Why can't I change the content for some songs when I click the Get Info button?

    Why can't I change the content for some songs when I click the Get Info button?  The information on the song, artist, genre is grayed out and will not allow me to alter the information.

    Hi htechadmin,
    Revcevied your PM and noted all details, Many Thanks.
    Getting this addressed by the team, either they will reply to you, here, or they shall email Or Call you.
    Regards,
    LP

  • Best approcach on changing templates in a document library

    Hello,
    In a document library, I need to have hold two types of word documents - a) with one place for signing and b) with two places for signing. There are document templates for each one.
    My approach to to use two content types, A1 for one sign and B2 for two signs. Each one will have its own document template and  an event receiver will fill the docx's fields  with data.
    Now, there's a new specification: The user should be able to change from content type A1 to B2 and vice versa. The document should change accordingly.
    My solution is an event receiver that will change the content type of the document, clear the contents of the existing docx, fill it up with the new document template's info and then fill ups the templates' fields.
    Is there another approach, because this  doesn't look straightforward to me. I wish I could some how swap the docx and then fillup the data, The option of deleting the document and recreating it, is my  very last option.
    Thank you
    Christos

    What you trying is better. check below
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/c99b4599-0864-48bb-9977-2dd2066fbbb8/sp-gugu-how-to-programmatically-change-a-list-items-contenttype-by-wss-webservice?forum=sharepointdevelopmentlegacy
    http://stackoverflow.com/questions/4735572/could-not-change-the-content-type-of-a-document-list-item-in-a-document-library
    // get the list item that you need to update (do this however is appropriate) SPListItem listItem; // get the list that the item is in SPList myList = listItem.ParentList; // Get the contnet type you want to change
    it to // (Note: must already be associated with the pages library) SPContentType contentType = myList.ContentTypes["New Content Type Name"]; // Update the properties listItem["Content Type"] = contentType.Name; listItem["Content Type
    ID"] = contentType.Id.ToString(); // Record the change without adding a new version number of changing the last modified by listItem.SystemUpdate();
    Read more at
    http://blog.brianfarnhill.com/2008/10/programmatically-changing-list-item-content-types#XSRrIpffUYMy7MAd.99
    SPFile ofile = oweb.GetFile(oweb.Url + '/' + oDocSet.Item.Url + '/' + refName);
    ofile.Item["ContentType"] = octype.Name;
    ofile.Item["ContentTypeId"] = octype.Id;
    ofile.Item.Update();
    Or try
    http://blog.brianfarnhill.com/2008/10/programmatically-changing-list-item-content-types

  • Change field contents

    Hi...
    How can I change field contents in ABAP New debugger..?
    Thanks,
    Naveen.I

    Hi,
    There a column named Change...beside the field(Pencil mark).
    Double click on it,
    field content will change to editable mode...
    change the content and hit ENTER.

  • How can I change the content of JTable?

    Dear friends.
    I have an JTable. I create tablemodel for it and fill out it by data.
    In application at the run time I always need to change the content of whole table. For example I have a frame with JTree and JTable. When I click on the tree node I need to retrieve the data about this node in the JTable.
    Advice me please how can I do that and give an example please.
    Thank you.

    SOL I:
    There solution can be simple if u've written a model for it.
    If u are updating the data of the table by the setValueAt() method of the tableModel, in ur calling(mutating code), then just append a sinle line at the end of the method. U just need to fire a data change event corresponding to the event that has happened.
    void setValueAt(Object aValue, int rowIndex, int columnIndex) {
    - - - - - - - ur code
    //then last line can be
    fireTableDataChanged() ;
    OR
    fireTableCellUpdated(int row, int column);
    OR
    fireTableStructureChanged() ;
    depending uopn what has happened.
    SOL II:
    U may also try calling the method fireTableDataChanged(); from the place where the table data is getting mutated.
    like:
    ((AbstractTableModel) table.getModel()).fireTableDataChanged();
    [email protected]

  • Problem with changing flash content - Need help

    I need help in changing  the flash content. Here is my proble,
    1) I bought a flash template (I will call this Original) from a website and paid some money to customize my menu,logo and background color.
    2) After they finished it they sent me several files. Like 1) index.html, .swf, psd, .fla. In all the files .html,.swf (the video) and .psd I am seeing my customize changes (logo,menu and background color). But the .fla file they sent me is still shows everything from original template. It doesn't have my logo, menu or background color.
    3) I asked their technical support and they walk me through. a) Open the .fla file in flash pro. b) Change the content c) Hit Ctrl+Enter and it will export the new .swf file to the flash folder. d) Make sure I delete the video from flash folder and replace the name with the one I created.
         I did all these steps. But the problem is the .SWF that i generated is showing everything from the orignal template. It did change the content but I don't see any of my customize request. (Menu, logo or color)
    4) Then I open the index.html and I DID NOT see any of the changes in the content.
    My feeling is they did not provide me the correct .FLA file. I really need your help.
    My confusion is a) Have they provide me the correct .FLA file or I am doing something wrong. b) When I generated the new .swf video and renamed it properly why it didn't reflect in the index.html file.
    I am really going back and forth with them since last 15 days and its not going anywhere. I really appreciate any help.
    Thanks,
    Jessy

    Unfortunately, if you have not enough knowledge about using Flash, and do not want to pay to have this done for you, the folks who did this for you are likely going to be the only ones who can help you resolve it.  They should be able to provide the edited fla and the new swf if they are in any way a credible/reliable business.... which at this point sounds like they are not.

  • How to change Portal Content by date?

    Dear Colleagues,
    We have the following requirement, a user must be able to change the content (news, the content of iviews, other info) of the portal start page(a custom developed framework page for the external portal) by selecting a date in the calendar.
    If you have any ideas or you've already worked on such a solution, please share your thoughts.
    Sincerely,

    Venkatesan
    Please do the following step by step.
    1. Logon as administrator to your portal.
    2. Go to Content Administration. In the option portal content right click to get the option New -> Iview.
    3. Select the option SAP Web dynpro Iview in the list of Iviews and give the respective properties.
    Is your WD component fetching data from backend. If yes create system before creating the Iview. To create system search for "Portal Integration of the Web Dynpro Application" on help.sap.com and you will get the exact steps.
    Do assign points if this helps.
    Please award points if this helps.

  • Big Permissions Problem: "You Cannot Change The Contents Of This Folder"

    I installed Tiger some time ago (and need to upgrade now from 10.4.6 to 10.4.9).
    I haven't used it much since some of my software will only run under Panther.
    In any case, I'm using it now and have been having big permissions/user accounts problems.
    I have two users on the computer "robert" and "ra", both with admin privileges (I set up two because I was trying to get around these problems -- I'd be very happy with just one).
    I have 10.4.6 installed on an external HD and boot from that into Tiger (I have Tiger on another external HD as a backup, and my main HD in the iMac has 10.3.9 -- that's what I boot from when I need to run older programs).
    In any case, both "robert" and "ra" have ADMIN privileges. But I get weird ownership problems. For instance, if I am logged in as "ra" and try to play a Realplayer file streaming from the web (in Firefox 1.x), I get the error
    /Users/robert/Desktop/307e6wz7 could not be saved, because you cannot change the contents of that folder.
    I check the ownership of the "Desktop" folder -- read/write for "ra".
    If I right-click I can save the Realplayer file to the desktop.
    Same with other links.
    I've also noticed other ownership problems (blocked folders at finder level) but can't duplicate tonight. Is this an obscure error, or is there something amiss in ownership recognition? Is there some way I can sort all out? Login in as "root" and set all right?
    Thanks
    G4 iMac   Mac OS X (10.4.6)  

    Yes they do. When you installed them you dragged these particular apps to the Applications folder. Doing so automatically attributes the program with the ownership attributes of the account owner who installed them - 'robert.'
    Proper application installers install apps under the system/admin ownership. You can try to fix these apps by changing their permissions:
    Select the app and CTRL-click to open the contextual menu. Choose Show Package Contents from the contextual menu. Select the Contents folder and press COMMAND-I to open the Get Info window. In the Ownership and Permissions section click on the tiny arrow icon to expose the panel. Click on the little lock icon to authenticate. Change permissions as follows:
    Owner = system with Read/Write privileges
    Group = admin with Read/Write privileges
    Other with Read-Only privileges
    Click on the Apply To Enclosed Items button. Close the lock by clicking again on the lock icon.

  • Changing template to previously created pages

    I couldn't find a way to apply a different template to a page that I created previously. Am I missing something?

    Well, as iWeb behaves just as the other iApps do and template changes are permissible in those apps, I think it only reasonable that it be an option within iWeb. I am not pulling out my hair here or anything (web designer myself), but after installing iLife and finding that the only 1-click way (sans file export, copy to iDisk, import to Homepage, etc.) to publish my personal photos from within iPhoto is via iWeb, the fact that I can now not change templates on the fly as I was able to do in Homepage is quite disappointing.
    While I understand the technical difficulties inherent in such a feature, it would be possible given that user modifications are not specifically outside of the theme. If, for instance, I inserted a bright neon button shape - it would be handy if iWeb said, "Hey! You can totally do this but be warned that if you do, this button is outside your current template spec and therefore future template changes will not apply to this object". I can dream...

  • WM-RF: Changing the content of an error message

    Hi,
    may be someone could help me...
    when a user is in a queue, but there are no further TOs in this queue, a message / error is shown:
    "The system could not find transfer order for execution".
    Is it possible to change the content of this message unproblematicly? Where can I change it? Screen-Management??
    Thank you!
    Best regards

    I didnt find the right message number by clicking on it. but i found the error message in se91....
    too easy
    thx a lot...

  • On opening up toast to burn its telling me that the tv standard is set to ntsc but all of my content is in pal format. how to change the content to ntsc seeing i am using final cut 10.

    on opening up toast to burn its telling me that the tv standard is set to ntsc but all of my content is in pal format. how to change the content to ntsc seeing i am using final cut 10.

    Select the Project in the Browser.  Go to the Info section of the Inspector.  Click the Modify Settings button.  For  Video Properties, change the Format from PAL to NTSC.  Export again, you'll be fine.

  • Сlear white area instead of template content

    I run iBooks Author, choose template and can't see template content. Only clear white area instead of template content. Screenshot:
    When I press page orientation change button content appears for a moment and disappears again. Screenshot:
    Please, help if somebody knows how to fix it. Thanks.

    The  pictures show you are using "Craft".  I just opened that same template and in  both modes there is visible content.
    You indicate that you have only opened to check and not added content, in which case  I suggest you  try different templates and check how they present content, if others behave in a similar manner, it may indicate an installation isssue.
    If you close and re-open the same template  and have the same problems - have you  opened the Layout options and changed the template ?   If not and you still have this issue, - in your situation I would un-install iBA and  re-install.
    ??? you show-iBooks Author, OS X Mountain Lion (10.8.2)    have you  updated to 10.8.4 ?

  • Webpart Title URL (Change and PopUp When Clicked)

    I'm trying to take the hyperlink title of an ExcelWebpart (TitleURL), change it, and upon clicking, making the link open in a dialog OR at least another window without changing the window already open. I found an article that uses jquery,
    www+.moresharepoint.net/2014/12/web-part-url-title.html
    However, I can't get this to work. One thing is, my webpart resides on a Custom webpart page. Not sure if this makes a difference. I tried putting a Content Editor on the page, placing the code there, but nothing. I tried placing the code directly in the
    WebPart page (at the bottom):
    </tr>
    </table>
    (I placed the JS code here)
    </asp:Content>
    Actual Webpart where I changed the title URL:
    <WpNs0:ExcelWebRenderer runat="server" AllowRemove="True" ... TitleURL="pasted my page URL here" ... </WpNs0:ExcelWebRenderer>
    BUT, nothing happens.
    I tried placing a Content Editor on the page and calling the JS but nothing happens.

    Hi,
    My code above acts as appending an attribute “targe: _blank” to the <a> tag of the web part title, it will change the open behavior of an <a> link to open
    in a new tab.
    A possible reason that my code not working in your page is that the HTML structure of your page is different from what it is in my page. This is the web part in my
    page and the corresponding HTML source code:
    You can check the DOM structure of your web part title using IE Developer Tool to see if the HTML source is similar to mine.
    IE Developer Tool
    http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx
    If the structure is different, it will require to modify the jQuery selector in my code to make it applied to your page.
    More information about
    jQuery selectors:
    http://api.jquery.com/category/selectors/
    Best regards
    Patrick Liang
    TechNet Community Support

  • I have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code?

    i have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code? thank you!

    i inherited the website. It’s for a non-profit and is not very
    sophisticated, and neither am I in webdesign. It currently has multiple
    pages that are identical except for that body section, so whenever i change
    the navigation (in the sidebar) I have to update every html page.  I want
    to have one basic page, and just call in the different body content based
    on the link the user selects from the nav bar. How can i do that using a
    script? i am using Dreamweaver.
    ~ in love and light ~
    Jeannie
    On Sat, Feb 7, 2015 at 4:07 AM, Ben Pleysier <[email protected]>

Maybe you are looking for