?
Solved

how do i view this code

Posted on 2006-11-28
1
Medium Priority
?
242 Views
Last Modified: 2008-02-01
Hi experts

Does anyone know how i can run and view this code example? I found here

http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/behaviors/library/tabstrip/tabstrip_ovw.asp

I have created an aspx page and linked to the code below via <script language="javascript" src="TabScript.js"></script>  but no luck!!

thanks

<HTML XMLNS:mp XMLNS:ts>
   <HEAD>
      <TITLE>TabStrip/MultiPage Markup Example</TITLE>
          <LINK REL="stylesheet" HREF="/workshop/samples/samples.css" TYPE="text/css">
      <?IMPORT NAMESPACE="mp" IMPLEMENTATION="multipage.htc"/>
       <?IMPORT NAMESPACE="ts" IMPLEMENTATION="tabstrip.htc"/>
   </HEAD>
     <!--TOOLBAR_START--> <!--TOOLBAR_EXEMPT--> <!--TOOLBAR_END-->
   <BODY>
      <H1>Using TabStrip and MultiPage Behaviors</H1>
       <P>This example shows how to use the <b>TabStrip</b> behavior with the <b>MultiPage</b> behavior in markup. Click a tab to switch between page views. </P>
      <ts:TABSTRIP ID="oTS" TARGETID="oMP">
          <ts:TAB TEXT="Page 1"/>
          <ts:TAB TEXT="Page 2"/>
          <ts:TAB TEXT="Page 3"/>
       </ts:TABSTRIP>
       </TD>
       <TD>
      <mp:MULTIPAGE ID="oMP" STYLE="border:solid black 1px;padding:5px;">
         <mp:PAGEVIEW ID="page0">
            This is the first page in the multipage.
         </mp:PAGEVIEW>
         <mp:PAGEVIEW ID="page1">
            This is the second page in the multipage.
         </mp:PAGEVIEW>
         <mp:PAGEVIEW ID="page2">
            This <B>page</B> contains <I>HTML markup</I>.
         </mp:PAGEVIEW>
      </mp:MULTIPAGE>
       <P />
0
Comment
Question by:SirReadAlot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
jessegivy earned 1500 total points
ID: 18031233
Hi there,

What you've posted above looks as if it's a partially complete HTML page.  I notice that the body tag and html tag isn't terminated, which is bad.

...Anyway, I guess the way it's intended to be used is in a frame, or Iframe.  There doesn't appear to be any javascript associated with what you've shown, so saving it as a .js file will not work, it should be put in a separate aspx page.

~Jesse
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question