How to insert a Jquery slideshow to a template based html page?

I would like to insert a simple jquery slideshow into an existing div in an html page which is linked to a template page. Do I add the js files and code to the template html or the child html where I want the slideshow? Do I need to divorce the page from the template? It seems that the js has to be put into the head from what I've read so far and this is not editable in a template child...
lunairecollective.com/news.html is the page I wish to alter, currently there are very simple links with swap text of container. I would like to have a cyclic slideshow in the div to replace the current swap images and links.
The website is in html4 transitional, and I'm using Dreamweaver cc
Thanks for any help!

Yes, there are editable areas in the child page as you saw from the website address. And I can see there are some editable elements in the head, though not all of it. Could you show me where I should insert the javascript code for a jQuery slideshow please? The relevant code follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/lunaire4_temp.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- InstanceBeginEditable name="doctitle" -->
<meta name="description" content="The most recent review of Lunaire Collective printed in The Australian newspaper.">
<meta name="keywords" content="review, The Australian, Whistler, Tom Green, Birtwistle secret theatre">
<title>LUNAIRE COLLECTIVE: Reviews and photos of Lunaire Collective - News and Reviews</title>
<!-- InstanceEndEditable -->
<link href="desktop.css" rel="stylesheet" type="text/css">
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript">
function MM_setTextOfLayer(objId,x,newText) { //v9.0
  with (document) if (getElementById && ((obj=getElementById(objId))!=null))
    with (obj) innerHTML = unescape(newText);
</script>
<!-- InstanceEndEditable -->

Similar Messages

  • How can I insert a widget slideshow into a template-based page in Dreamweaver

    HI, I Have a question that has been nagging me for the last three hours.
    I have been trying to insert a slideshow into a template based document using the insert widget function in Dreamweaver CS 5.5.  The problem is that I contine to get the error that
        "This widget requires code that must be inserted into the head of the current document.  Insertion cannot happen because the head of this document is read only."
    I have tried to edit the template file in order to make the head tag into an editable region.  I have tried to resolve the problem by eliminating the
    <!-- #BeginEditable "doctitle" --> function call and instead using the <!-- InstanceBeginEditable name="head" -->
    function, but all that does is grey out all the code on the page following the this function call.  The other side effect of using this method is that the child documents do not even have a header anymore.
    I do not know if this is just a lack of understanding how this works, or if there is a bug in Dreamweaver.
    Any help in this subject wold be appreciated. 
    The original HTML for the template in question is below.
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html>
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="../style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div class="back">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="100%" align="center">
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="10">
              <tr>
                <td height="10"></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
              <tr>
                <td>
                  <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
                    <tr>
                      <td width="645"><a href="../index.html"><img src="../images/top-1-2_01.jpg" width="645" height="142" border="0"></a></td>
                      <td width="255" background="../images/top-1-2_02.jpg"> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="20" bgcolor="#CCCCCC">
              <tr>
                <td bgcolor="#003366">
                  <div align="right">   <a href="../kont_schreiben.php" class="linkGrey">Kontakt</a>     <span class="linkGrey">|</span>     <a href="../anfahrt.htm" class="linkGrey">Anfahrt</a>    <span class="linkGrey">|</span>     <a href="../Impressum.htm" class="linkGrey">Impressum</a>    </div>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="3" bgcolor="#99CC33">
              <tr>
                <td bgcolor="#99CC33"> </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="450">
              <tr>
                <td valign="top">
                  <table width="900" border="0" cellspacing="0" cellpadding="3">
                    <tr>
                      <td valign="top" width="180" bgcolor="#99CCCC">
                        <table width="180" border="0" cellpadding="10">
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../index.html" class="linkmmenu2">Startseite</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solaranlagen.htm" class="linkmmenu2">Solaranlagen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../BHKW.htm" class="linkmmenu2">BHKW</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../heimkraftwerk.htm" class="linkGrey"><span class="linkmmenu2">Priental Heimkraftwerk</span></a></div>
                            </td>
                          </tr>
                           <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../FAQ.html" class="linkGrey"><span class="linkmmenu2">Heimkraftwerk FAQ</span></a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Brandsicherung.htm" class="linkmmenu2">Brandsicherung</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solar-Lexikon.htm" class="linkmmenu2">Solarlexikon</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Team.htm" class="linkmmenu2">&Uuml;ber
                                uns / Team</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../1_Referenzen4_70KwP.htm" class="linkmmenu2">Referenzen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../newsletter_anm.php" class="linkmmenu2">Anmeldung News</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../pdf/empfehlung_heimkraftwerk.pdf" target="_new" class="linkmmenu2">Empfehlungen</a></div>
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td width="20" bgcolor="#99CCCC"> </td>
                      <td valign="top" width="660" align="left" bgcolor="#FFFFFF">
                        <table width="660" border="0" cellspacing="8" cellpadding="0" height="450" bordercolor="#999933" bgcolor="#F0F8FB" align="left">
                          <tr>
                            <td align="left"><!-- #BeginEditable "content" -->{content}<!-- #EndEditable --></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="25" bgcolor="#003366">
              <tr>
                <td height="10" align="left">     <span class="txtBottomSm">BERATUNG
                  | PLANUNG | KOMPLETTSERVICE</span></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="60" bgcolor="99CC33">
              <tr>
                <td height="10">
                  <table width="860" border="0" cellspacing="0" cellpadding="20">
                    <tr>
                      <td align="left"><!-- #BeginEditable "bottom" -->{bottom}<!-- #EndEditable --></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </div>
    </body>
    </html>

    Thanks for the response.
    Unfortunately, I have tried it, but continue to recieve the same error message.  I have double checked the syntax and positioning of the editable regions, and they match yours completely.  In the child page everything is editable.  Do you have any other suggestions for this perplexing problem?  Thanks
    Here is the syntax of the header tag from the child page showing all of the editable regions:
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html><!-- #BeginTemplate "/Templates/comp.dwt" --><!-- DW6 -->
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <!-- #BeginEditable "meta" -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <!-- #EndEditable -->
    <!-- #BeginEditable "head" -->
    <link rel="stylesheet" href="style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <!-- #EndEditable -->
    </head>

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • How to insert a greek symbol like "alfa" and "beta" in Pages 5.0

    How do I insert a greek symbol like "alfa" or "beta" in Pages 5.0

    The same way you would in any other OS X app... there are various keyboard shortcuts for common letters (e.g. Ω is 'alt-z'), but if you are not sure what they are there are two quite simple solutions. 
    Both require you go to "Keyboard Prefernces" in "System Preferences" on your computer and put a tick in the box "Show keyboard and character viewer in menu bar".
    Once you have done this, you get an extra menu item that gives you access to two OS X utilities - "Character Viewer" and "Keyboard Viewer"
    Character viewer opens a window that allows you to look for specific characters, copy them and paste them into your document.  It is very powerful, and probably overkill for what you want.  But worth knowing about.
    Keyboard viewer is a floating window that shows you what OS X thinks each key will produce when you type it.  It adjusts itself to match whatever language / keyboard you are using, and shows immediately the effect of pressing the adjuster keys.  Here is the viewer showing what happens when you press the alt key...
    HTH...

  • How to embed a Video stored in KM repository on html page

    Hi All,
    I have a requirement to embed a video stored in KM repository on html page.
    My html page and related file referred in html code below (highlighted) are stored at following path in KM “root>documents>test” with the same name as mentioned in code.
    Code which I got from net for embedding an .flv file on html is mentioned below but how should I modify it to take files stored in KM.
    <html>
    <head>
    <title>Flash Test</title>
    </head>
    <body>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="Jacksonville" name="movie" width="425" height="305" align="center" id="movie">
                               <param name="allowScriptAccess" value="sameDomain" >
                               <param name="movie" value="<b>player.swf</b>?file=<b>Radvan_001MEDWHI.flv</b>" >
                               <param name="menu" value="false" >
                               <param name="quality" value="high" >
                               <param name="scale" value="noborder" >
                               <param name="salign" value="lt" >
                               <param name="wmode" value="transparent" >
                               <param name="bgcolor" value="#000000" >
                               <embed src="<b>player.swf</b>" menu="false" quality="high" scale="noborder" salign="lt" wmode="transparent" bgcolor="#000000" width="425" height="305" swliveconnect=true id="movie" name="movie" align="left" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="<b>install_flash_player_active_x.msi</b>" >
                             </object>
    </body>
    </html>
    Please guide me for the same.
    Regards,
    Madhvika

    Hi,
    I have stored all the files referred in code ( player.swf, install_flash_player_active_x.msi and Radvan_001MEDWHI.flv ) at root>documents >test folder in KM repository
    <u><i>Julian</i></u>
    My requirement is to know, what path i should give for the files highlighted with bold in my code as they are stored in KM .
    <i><u>
    Praveen</u></i>
    Can you please tell me how should I modify these lines in code (name of video file is Radvan_001MEDWHI.flv)
    <param name="movie" value="player.swf?file=Radvan_001MEDWHI.flv" >
    embed src="player.swf"
    pluginspage="install_flash_player_active_x.msi" >
    Regards,
    Madhvika

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • How to Unload and Reload a Composition into the same HTML page?

    TLDR:
    When loading multiple Compositions into a html page via AdobeEdge JavaScript, how do I remove/delete/unload a loaded composition so that it can be added/loaded to the same page again later? I am open to options not mentioned here, but this is done externally, not within Edge's limited code abilities (working with multiple comps on one page).
    *Note: I am making comps in Edge then loading multiple within my own JavaScript/HTML external pages. This programming is NOT done within Edge's code.
    Overview:
    I could have more than 50 compositions to load into my page, but only one is displayed at a time. In order to make this easier on the user, I load 5 into the page in divs with display: none. I set the id of the first one to an id that has my css to show the content properly. When clicking next, that div is set back to an ID that has hidden css values. Going forward and back works the same. This functions properly. This puts all the obvious preloading in the beginning so the user doesn't have to wait again, as comps are preloaded in the background while they are viewing other comps.
    As the user moves farther, I drop the first div and add one on the end with the next comp. This works fine. I can go forward all day, no problem by removing the first div element and adding one to the end. This should make memory not horrible, since theoretically, the comps would be removed as needed...
    Problem:
    The problem is if the user wants to go back. If I drop the last div and add one to the front, the comp (which was loaded and dismissed earlier) cannot be re-loaded. It also cannot be re-added, even if the div is cloned and re-added later.
    This is the code I am using to load the comps:
    $.getScript('comp_' + i + '_edgePreload.js', function() {});
    Options:
    The options I have thought of (and not found a way to make them work) in order of preference:
    Fully unload the comp from memory, that way when I make the call to load the comp, it will act as if it has never been loaded before. (Is there a way to unload a comp completely? I haven't found one, but the API is sorely incomplete) **I want this one to work very much.
    Ok, maybe you can't actually unload a loaded comp. Can you re-add it to a new div? I have printed out every option I could thru AdobeEdge's interface, and cannot find a way to re-make a div the way it was. Heck, I'd be happy to load the content into a non-child element in JS, then append to html when I actually want to display it. I can't find how to re-setup the div, which has the correct Class and is set up the way it was when the comp was loaded the first time. (this option is bad because it seems all of the comps are still in memory, but at least it would work)
    Worst case, I have tried this and ALMOST got it to work. When I removed the old divs from the page, I cloned them and added them to an array of objects in JS. Then, when going back, I pushed them back out, so it was an EXACT copy of the original div, all content was the same, all id, class, style, etc was the same. Unfortunately, AdobeEdge seemed to lose the ability to talk to it. (AdobeEdge.getComposition('EDGE-MyUniqueIdentifier').getStage(); // returns undefined). How do I tell it to re-associate the div with the object that still exists here? And obviously, this is an awful solution, since it appears that all of the comps stay in memory, but I was desperate to simply make it work somehow.
    If you need code examples of any of my attempts at the previous options (I have tried them all extensively, and unsuccessfully), I can provide it. I hope someone has found a way to deal with this or has links to actually useful information. Most posts I have found simply tell you to load all your comps and hide/unhide them as needed. This works for small-scale, but when you have a lot of comps to move between, it becomes less of a viable solution.

    Exactly the same problem here. Could anyone from EDGE TEAM answer to this question?
    How we can UNLOAD and LOAD same or another animation using SAME or DIFFERENT dinamically created DIVS?
    Affter loading the second animation AdobeEdge.getComposition('EDGE-MyUniqueIdentifier').getStage() returns undefined.
    Thanks for ther support.

  • How to set a value to an  existing element in  html page using servlets

    i have created a session in my login page and i know how to retrieve it now the actual problem is i want to set the same value to a textbox in an html page........

    Use JSTL and/or EL.
    Assuming that you mean with "created a session" that you've created a bean and have set it as an attribute of the HttpSession, e.g.httpSession.setAttribute("someBean", someBean);then do for example using the JSTL c:out tag:<p><c:out value="${someBean.someProperty}" /></p>or, if you're using at least Servlet 2.4 API with JSP 2.0 API which allows EL in template text, then do for example:<p>${someBean.someProperty}</p>

  • How to extract image from oracle database and display at html page

    Could you help me how to make the image to display. i manage to extract the data but the data is in Blob so i need to convert it so make it display at html page.

    Thanks for ur reply Mr.Rajasekhar
    I tried as u said,
    i tried without converting to sql date ,but still i din't get any results
    java.text.SimpleDateFormat dateFormat=new java.text.SimpleDateFormat("dd/MM/yyyy");
             java.util.Date fromDate=dateFormat.parse(startDate);
            java.util.Date tillDate=dateFormat.parse(endDate);          
              String query1="select MTName,Date,MTLineCount from linecountdetails where mtname='"+MTName+"'  and Date >='"+fromDate+"' and Date <='"+tillDate+"' " ;
            System.out.println(query1);
    //From main method
    databaseConnection("prasu","1/12/2005","31/12/2005");I got the output as
    ---------- java ----------
    select MTName,Date,MTLineCount from linecountdetails where mtname='prasu'  and Date >='Thu Dec 01 00:00:00 GMT+05:30 2005' and Date <='Sat Dec 31 00:00:00 GMT+05:30 2005'
    java.lang.NullPointerException
    null
    null
    java.lang.NullPointerException
    Output completed (4 sec consumed) - Normal TerminationThanks
    Prasanna.B

  • Simple way to insert  custom Jquery Slideshows and Plugins in Muse

    Hi guys, I know the Adobe Muse team is working hard to make this revolutionary tool better by the day. They have done a lot of foundation work to get this tool up to this state. I say congrates guys keep the good work on.
    But before we get to the promised land. I know a lot of 'creative non-coders' still want to take up the challenge of doing some cool stuff spread around the internet nowadays such as jquery fullscreen image slideshow, fullscreen image jquery sliders, etc. But Muse is not there yet. I believe the next release will enable designers to take advantage of the height feature missing right now(I just believe so, no insider hint, please don't quote me.).
    Okay let me not bore you.
    Now I have noticed you can bring any slideshow into Muse if you have the bravery to do it. It's so simple. See this: www.dynamicarchitecturaldesign.com.
    The slideshow was a backstretch jquery plugin with some custom javascript to load the page before displaying the page.
    The trick is,  follow the instruction provided by the author of any of this script, especially the ones relating to the jquery-1.4min.js... jquery-1.7.min.js... upto the latest version that could possibly be available. Note: Adobe Muse also have almost the latest version of the jquery plugin. So after authoring your stuff in Adobe Muse, export as HTML then move and replace any of the code provided by the author of the code you intent to use with the one that Muse generates always:
    <script src="http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.js" type="text/javascript"></script>
    This is often placed toward thge bottom section before the closing </body> and </html> tags. Move it up to the head section using notepad or DW. Though this is not the intended workflow by the Muse team, but it gives you the edge to do stuff you want to do.

    Okay Maurya, am suggesting the Muse dev team can take a cue from the edge team. In the publishing setting of Edge their is an option for Framework via CDN! Introducing this feature into Muse will go along way to enhance the workflow of psuedo-developers using Muse  to cut down on web design time.  if I have some jquery codes for slideshows and so on that I have lifted from some places or purchased on the internet, I can conveniently place the codes as usual where they need to be and on export  indicate to Muse whether I want it to include its own code:
    "http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.jswhich has been further modified in the new beta 2 release as:
    <script type="text/javascript">
       if (document.location.protocol != 'https:') document.write('\x3Cscript src="http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.js" type="text/javascript">\x3C/script>');
    </script>
    in the export and during publish (a publish setting kinda of could be added to the preference area) or use my own framwork that I have included in the head section. So Muse will not include the above jquery musecdn...  in the publish version. That way you are giving us more control and winning more developers over to Muse and of course more money for Adobe . See screnshot in Adobe Edge:

  • How to insert a picture in the web template, in WAD 3.5?

    Hi Gurus,
    I'm in a hurry to insert one picture into a template, and I noticed there must be some library to add the picture to the list first, then should we inert from the list.
    Could anyone give a hint how to add the picture into the list first?

    hi all,
    sorry to update you so late, because I can't log on SDN from time to time.
    the weird thing is that my peer can upload the picture successfully while I still can't see it in the list.
    I am handful, I'll do a research and update you guys later.
    thanks.
    Jennifer

  • How to display PDF in slideshow, without returning to the first page or stall/halt on the last page?

    Hi,
    I want to display PDF's with multiple pages as a slideshow.
    This is possible with a default Adobe Reader and have this working for ONE pdf file.
    But I want do display multiple PDF's as a slideshow, the one after the other.
    In Adobe Reader you can define to return to the first page again or it automatically 'stalls/halts' at the last page.
    But I want Adobe Reader to close after the last page is displayed so it continues (in a simple DOS-script) with a second, third, etc. PDF to be displayed.
    Is this possible?
    What kind of simple DOS-script kan be used or an other reader/utility?
    Thanks in advance!
    Gunther

    Hi Bernd,
    I was looking for ways to script this kind of solution.
    But do not have good results.  There are tools to combine pdf's into one large pdf - but mostly to be selected by hand.
    We need it in a scriptable way to automate.
    Additionally, we want to be able to combine different types of documents to rotate as a slide show (so not only PDF's but also pictures or other output).
    If you or someone else have such scripts, it will be highly appreciated.
    Regards

  • How to Insert & Return a Row using a Function based on the Input parameter

    Hi Guys, Plz help me the following code i am converting from Sql Server to Oracle.
    I want equivalent code in Oracle.
    ALTER FUNCTION [dbo].[GetDateRange]
         @Period     VARCHAR(50)
    RETURNS @DateRange TABLE(StartDate     DATETIME,EndDate DATETIME,[Name] NVARCHAR(500), [Description] Nvarchar(2000) )
    AS
    IF(LTRIM(RTRIM(@Period)) = 'LQ')
    BEGIN
    ''''CALCULATION
              INSERT INTO @DateRange
                             StartDate,
                             EndDate,
    [Name],
    [description]
                   SELECT     @StartDate,@EndDate,'Last Quarter',
    'Last Quarter - '+ Cast(@StartDate as Nvarchar(11))+ ' to '+Cast(@EndDate as Nvarchar(11))
    END
         RETURN
    END
    above Function i am using in another Procedure
    select ----
    FROM     dbo.SalesFact SF ,
                   dbo.DateDimension DD,                    
                   dbo.GetDateRange('LY') GDR
         WHERE     DD.DateKeyID = SF.BillDateKeyID AND
                   DD.Date >= GDR.StartDate AND
                   DD.Date < GDR.EndDate
    Edited by: 801668 on Oct 11, 2010 10:26 PM

    hi i'm sending again the following code
    ALTER FUNCTION [dbo].[GetDateRange]
         @Period     VARCHAR(50)
    RETURNS @DateRange TABLE
    (StartDate     DATETIME,     EndDate     DATETIME,[Name] NVARCHAR(500), [Description] Nvarchar(2000) )
    AS
    BEGIN
    DECLARE @ToDay          DATETIME,
    @StartDate     DATETIME,
    @EndDate     DATETIME
    DECLARE
    @V_Getdate DATETIME
    ,@V_Getdate_2 DATETIME
    ,@V_dateA datetime
    ,@V_dateB datetime
    ,@V_dateC datetime
    ,@V_dateD Datetime
    ,@StartFirstdayofquarter datetime
    ,@EndLastdayofthequarter datetime
    ,@quater int
    ,@FirstdayofPreviousyr Datetime
    ,@LastdayofPreviousyr Datetime
    ,@FirstdayofPreviousyr6MTD Datetime
    ,@TodayDayOfWeek INT
    ,@EndOfPrevWeek DateTime
    ,@StartOfPrevWeek DateTime
    ,@V_Date_1 datetime
    ,@V_P6MV1 datetime
    ,@V_P6MV2 Datetime
    ,@StartFirstdayofquarter_1 datetime
    ,@EndLastdayofthequarter_1 datetime
    ,@i int
    ,@CurrentRowNum int
    ,@CurrentQuarter int
    ,@V_Startdate datetime
    ,@V_Startdate2 datetime
    ,@V_enddate datetime
    ,@V_Quarter int
    ,@V_rownum int
    SET @Period=LTRIM(RTRIM(@Period))
    SET @V_Getdate = (SELECT CONVERT(DATETIME,(SELECT CONVERT(VARCHAR(10),(Select LastETLDate from Parameterconfig),101))))
    --Where parameterconfig is a table
    SET @V_Getdate_2=@V_Getdate
         IF(LTRIM(RTRIM(@Period)) = 'LQ')
         BEGIN
    SET @ToDay = (SELECT CONVERT(DATETIME,CONVERT(VARCHAR(10),@V_Getdate,101) + ' 00:00:00.000'))--#Ch003
    --If Today is in between 1st January to 31st March then return
    --1st Oct of previous year as StartDate and 1st Jan of present year as EndDate
    IF((DATEPART(MM,@ToDay) = 1) OR (DATEPART(MM,@ToDay) = 2) OR (DATEPART(MM,@ToDay) = 3 ))
    BEGIN
    SET @StartDate = (SELECTCONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,DATEADD(YYYY,-1,@ToDay))) +'-10-01 00:00:00.000'))
    SET @EndDate = (SELECTCONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-01-01 00:00:00.000'))
         INSERT INTO @DateRange(StartDate,EndDate,[Name],[description]     )
         SELECT     @StartDate,@EndDate,'Last Quarter',
    'Last Quarter - '+ Cast(@StartDate as Nvarchar(11))+ ' to '+Cast(@EndDate as Nvarchar(11))
    END
         --If Today is in between 1st April to 30th June then return
         --1st Jan of present year as StartDate and 1st April of present year as EndDate
    IF((DATEPART(MM,@ToDay) = 4) OR (DATEPART(MM,@ToDay) = 5) OR (DATEPART(MM,@ToDay) = 6 ))
    BEGIN
    SET @StartDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-01-01 00:00:00.000'))
    SET @EndDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-04-01 00:00:00.000'))
         INSERT INTO @DateRange(StartDate,EndDate,[Name],[description]     )
    SELECT     @StartDate,@EndDate,'Last Quarter ',
    'Last Quarter - '+ Cast(@StartDate as Nvarchar(11))+' to '+Cast(@EndDate as Nvarchar(11))
    END
    --If Today is in between 1st July to 30th September then return
    --1st April of present year as StartDate and 1st July of present year as EndDate
    IF((DATEPART(MM,@ToDay) = 7) OR (DATEPART(MM,@ToDay) = 8) OR (DATEPART(MM,@ToDay) = 9 ))
    BEGIN
    SET @StartDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-04-01 00:00:00.000'))
    SET @EndDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-07-01 00:00:00.000'))
    INSERT INTO @DateRange(StartDate,EndDate,[Name],[description])
    SELECT     @StartDate,@EndDate,'Last Quarter',
    'Last Quarter - '+ Cast(@StartDate as Nvarchar(11))+' to '+Cast(@EndDate as Nvarchar(11))
    END
              --If Today is in between 1st Oct to 31St Dec then return
              --1st July of present year as StartDate and 1st Oct of present year as EndDate
    IF((DATEPART(MM,@ToDay) = 10 ) OR (DATEPART(MM,@ToDay) = 11) OR (DATEPART(MM,@ToDay) = 12 ))
    BEGIN
    SET @StartDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-07-01 00:00:00.000'))
    SET @EndDate = (SELECT     CONVERT(DATETIME,CONVERT(VARCHAR(4),DATEPART(YYYY,@ToDay)) +
              '-10-01 00:00:00.000'))
    INSERT INTO @DateRange(StartDate,EndDate,[Name],[description])
    SELECT     @StartDate,@EndDate,'Last Quarter',
    'Last Quarter - '+ Cast(@StartDate as Nvarchar(11))+' to '+Cast(@EndDate as Nvarchar(11))
    END
    END
    RETURN
    END
    above function i'm using in another procedure. which acts as a virtual table. for joining purpose.

  • How to pass on variables while redirecting from BSP to HTML  page.

    Hi all,
    I have two BSP pages - BSP1, BSP2.  When I click a submit button on BSP1, it should call BSP2 wherein BSP2 will work silently behind the scenes and redirect some variable values through hidden form fields to BSP1 back. 
    User will not see BSP2 in fact.  He just deals with BSP1, but when he clicks the submit button on BSP1, it silently calls BSP2, and then BSP2 will process something behind the scenes and sends back values through hidden form fields to BSP1 by means of redirection. After redirection from BSP2 to BSP1, I am not getting the hidden fields in BSP1.  From the BSP1, I am trying to get the hidden fields of BSP1 using:
    Here is how my code in BSP2 (redirecting to BSP1) looks like:
    <b>BSP2 : Layout:</b>
    <input type="hidden" name="hf1" value="vicky">
    <b>BSP2 : OnInitialization:</b>
      response->redirect( url_BSP1 ).
      navigation->response_complete( ).
    But when I am doing this, the hidden form fields from BSP2 are not being passed to BSP1 back.
    I am trying to get the form values <b>in BSP1</b> as below:
    <b>BSP1 : Layout:</b>
       <%
       data:  hfield type string.
       hfield = request->get_form_field('hf1').
       %>
    I even tried the above code in onRequest, and onInitialization sections.  But I am getting nothing.
    Please give me some ideas on how to deal with the redirection and get the hidden values out of that.
    Thanks in advance.
    Cheers,
    Vicky.

    Hi,
    There are different ways to do it, but let's pick this one. It closes the popup. If you need additional things to be done, you can make a form with all hidden fields, submit that form, do the same close and do whatever you need in the inputprocessing
    <html>
      <head>
    <title>title</title>
          <script language="javascript">
              function init() {
              <%if count eq 1.%>
                  opener.document.form.F<%=field%>.value = '<%=value.%>';
              close();
             <%else.%>
          <%endif.%>
          </script>
      </head>
      <body onLoad="init();">
    </body>
    </html>

  • How to print a pl/sql raw or BLOB to html page with htp.p command

    Hi!
    I have a jpeg image I retrieved from the OID and it is stored in an DBMS_LDAP.BINVAL_COLLECTION, which is supposed to be similar to a BLOB or PL/SQL raw collection. What I want to do is to print it to my portal page. I have been using htp.p to print all the other values such as name, department etc, and the only thing I can't get out to the page is the image. How do I do this? I suppose I can just declare a variable of the type BLOB, and give it the binary value I have in the BINVAL_COLLECTION, but then how do I get it to my html code? Do I have to convert it to something, or use some function. I don't know much pl/sql so detailed instructions would be very helpful. Thank you
    /Marie

    I tried that, but I get the error "Wrong number or types of arguments" in the Read method. See my code below:
    PROCEDURE read_image(p_photo DBMS_LDAP.BINVAL_COLLECTION)
    AS
         src_lob blob;
         buffer raw(2048);
         amt BINARY_INTEGER := 2048;
         pos INTEGER := 1;
         doctype number;
         BEGIN
         owa_util.mime_header( 'image/bmp', false );
         owa_util.http_header_close;
         -- the query
         --select into src_lob from where ;
         LOOP
    --THIS IS WHERE I CHANGE THE BLOB FOR MY BINVAL_COLLECTION, BUT GET AN ERROR
         DBMS_LOB.READ (p_photo, amt, pos, buffer);
         pos := pos + amt;
         htp.prn(utl_raw.cast_to_varchar2(buffer));
         END LOOP;
         exception when others then
         NULL;
         END;
    Is there something wrong with this code, or else how do you mean I shold just replace the blob whith the DMBS_LDAP.BINVAL_COLLECTION
    /Marie

Maybe you are looking for