Invalid Row Number with Gallery Widget

Hi all,
I'm having some trouble with selecting the correct gallery
with the gallery widget. Instead of using the dropdown as shown in
the demo, I want to use a query string for selecting the gallery.
This is what I've done:
<script type="text/javascript">
function selectPortfolio() {
var _wl = window.location.toString();
var _pId = _wl.substring(_wl.lastIndexOf('=') + 1,
_wl.length);
dsGalleries.setCurrentRowNumber(_pId.toString());
</script>
</head>
<body onload="selectPortfolio();">
When I try to hit the following URL:
my_website/portfolio.html?id=1, I'm trying to set the
currentRowNumber to 1. When I debug through the the SpryData.js
file I see the following function getting executed:
Spry.Data.DataSet.prototype.setCurrentRowNumber =
function(rowNumber)
if (!this.data || rowNumber >= this.data.length)
Spry.Debug.trace("Invalid row number: " + rowNumber + "\n");
return;
I can see rowNumber coming through as 1. However, this.data
is coming back as null.
Anyone see anything wrong with what I've done here?
Sean

Try to mkae it simple ;
&Total=0;
&RS_LEVEL0 = GetLevel0();
&Row_LEVEL0=&RS.Getrow(1);
&RS_LEVEL1=&Row.Getrowset(Scroll.JournalLine1);
For &I=1 to &RS_LEVEL1.Activerowcount;
&Row_LEVEL1=&RS_LEVEL1.Getrow(&I);
&Record_LEVEL1=&Row_LEVEL1.GetRecord(Record.JournalLine1);
&Field_LEVEL1=&Record_LEVEL1.GetField(Field.Amount);
&Amount=&Field_LEVEL1.Value;
&Total=&Total + &Amount;
end-for;
Your_Level_0_Record_Name.LEVEL_0_TOTAL_FIELD_NAME.value=&Total;
Hope it will work!!!
Don't do any declearation it will automaytically decleared.
Thanks,
Amit

Similar Messages

  • Matrix - invalid row number

    Hello,
    Has anyone come across the following error:
    "Matrix - invalid row number" ?
    Full error:
    System.Runtime.InteropServices.COMException (0xFFFFF043): Matrix - invalid row number
    at SAPbouiCOM.IEditText.get_Value()
    Please note that this error is different than the more
    known:
    "Row - Invalid index".
    Thanks,
    Erez

    Michael, here you go:
    For i = 1 To oMatrix.RowCount
       sLineID = ServicesMethods.GetCellEdit
                            (oMatrix.Columns, "mycol", i).Value
    Next
    Tjaard, I think you are mistaken.
    The 0 row is the header row.
    It would be correct if I were using DBDatasource iteration
    Thanks,
    Erez

  • Calculating the row number with DAX

    Hello,
    Can somebody help me to obtain the row number in a calculated column using DAX (PowerPivot 2013) ?
    I do not have any column that would contain unique values (would be easy in that case !). I just want to obtain a different value in each row.
    Thank you.

    Hi DP17000,
    According to your description, you need to add a column with the RowNumber to your Pivot table by using DAX, right?
    Based on my tested, we can use a ranks function to achieve your requirement.
    =RANKX(case0305,[amount],[amount],0,dense)
    Reference
    https://msdn.microsoft.com/en-us/library/gg492185.aspx?f=255&MSPPError=-2147217396
    http://ayadshammout.com/2013/02/19/dax-rankx-function-scenarios/
    Regards,
    Charlie Liao
    TechNet Community Support

  • Invalid Serial Number with Acrobat 9.0

    After performing an administrative install of Acrobat 9.0 an "Invalid Serial Number" error is thrown on installation. The error appears no matter how the serial number is given: typing it in, transform, or ISX_SERIALNUMBER=. The installation works when using setup.exe. Our installation package HAS to be in msi format. Sometimes the serial number works if I rename asnv.tmp to .msi and use it to install.

    The only way this will install with an Administrative install is to include Asnv.tmp in the installation source.

  • "Invalid Serial Number" with "Acrobat 7.0 Standard"

    I have a retail copy of "Adobe Acrobat 7.0 Standard" with a valid serial number I am trying to install. I understand that the activation servers are down, so I had downloaded the installer executable from the Adobe website so I can install without communicating with the activation servers. (22001904.exe)
    I am now repeatedly receiving a "Invalid Serial Number" message when trying to install. I have verified with Adobe customer service that my serial is valid and I have the correct installation executable. Aside from that the Adobe customer service have been support me any further, and suggested I turn to the community based forums.
    Any work around for this or known fixes? Thanks!

    http://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.htm l provides the information needed about the license issue. To use AA7 with Win 7, 32 or 64-bit you will have to add a PS printer. The Adobe PDF printer from AA7 will not run on Win7 and AcroTray will fail also. To get around the problem you will have to install a PS printer, either from Adobe or one of the HP color PS printer drivers. After installing, go to the properties and change the name to Adobe PDF and change the port to FILE. You will always have an extra step in the PDF creation due to the failure of AcroTray. You will have to open the file created by the printer in Distiller to create a PDF.
    You will also want to do the updates (ftp://ftp.adobe.com/pub/adobe/acrobat/win/).

  • Display Row Number with JTable

    Hi everybody,
    I try to build a spreadsheet with Java and Swing. I use Jdk1.2.2 and I looking for display the row Number on the left (Excel - like). I can't fiugre out how to implement this.
    Anyone can give me some help?
    Bye
    Mirko

    Hi Sciak!
    This is what you are looking for ('Row Header' sample, including source code):
    http://www2.gol.com/users/tame/swing/examples/JTableExamples1.html
    Home page:
    http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
    CU,
    Jan

  • Returns wrong row number with ENTER key in JTable...

    I am having a problem to get exact row number ofJTable when ENTER key is pressed.
    table.getSelectedRow() always retuns one more value when ENTER key is pressed(fired). like
    if i have 5 rows in a table and when my focus is on 1st row and then i press enter key focus moves to next row and it returns 1 instead of 0 for the 1st row.
    I have written a code bellow, please check it out and tell me why it happens. Please click on Add Row button for creating rows in table.
    import javax.swing.*;
       import javax.swing.table.*;
       import java.awt.*;
       import java.awt.event.*;
       import java.util.Vector;
       class TableTest extends JFrame {
         MyTableModel myModel;
         JTable table;
         JButton button;
         JButton buttonQuery;
         int count = 0;
         public TableTest() {
           myModel = new MyTableModel();
           table = new JTable(myModel);
           table.setPreferredScrollableViewportSize(new Dimension(500, 200));
           JScrollPane scrollPane = new JScrollPane(table);
          table.addKeyListener(new KeyAdapter(){
              public void keyTyped(KeyEvent ke)
                if(ke.getKeyChar() == ke.VK_ENTER){
                  System.out.println(table.getSelectedRow());
           getContentPane().add(scrollPane, BorderLayout.CENTER);
           getContentPane().add(button = new JButton("Add Row"),
           BorderLayout.SOUTH);
           getContentPane().add(buttonQuery = new JButton("Query"), BorderLayout.NORTH);
           button.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e) {
          Object [] aRow = new Object [8];
         String aRow1;
         for (int i=0; i<5; i++) {}
         myModel.addRow(aRow);
       buttonQuery.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e) {
           System.out.println(myModel.getRowCount());
           System.out.println(myModel.getValueAt(1, 3));
       addWindowListener(new WindowAdapter() {
         public void windowClosing(WindowEvent e) {
           System.exit(0);
       class MyTableModel extends AbstractTableModel {
       protected final String[] headers =
       { "No", "Vehicle No", "Date of Loss", "Image Type", "Image Description", "Claim Type", "Scan Date", "User Id" };
       Vector data;
       MyTableModel() {
        data = new Vector();
       public int getColumnCount() {
         return headers.length;
       public int getRowCount() {
        return data.size();
       public Object getValueAt(int row, int col) {
       if (row < data.size() && col < 8) {
         Object [] aRow = (Object []) data.elementAt(row);
       return aRow[col];
       } else {
         return null;
       public void addRow(Object [] aRow) {
         data.addElement(aRow);
        fireTableRowsInserted(data.size()-1, data.size()-1);
       public static void main(String[] args) {
       TableTest frame = new TableTest();
       frame.pack();
       frame.setVisible(true);
       }Regards..
    jaya

    Dear Jaya,
    I have a look at your code. And modified a bit as well to really check the getSelectedRow(). Here's the modified code: I think when key event fired, the table row is changed and then is displays the get selected row. You can check this, if you are on the last row, and you press enter, it displays 0, it means first it changes the row and then displays the selected row which is obviously rowNumber+1.
    Hope it helps.
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Vector;
    class TableTest
        extends JFrame {
      MyTableModel myModel;
      JTable table;
      JButton button;
      JButton buttonQuery;
      JButton buttonSelectedRow;
      int count = 0;
      public TableTest() {
        myModel = new MyTableModel();
        table = new JTable(myModel);
        table.setPreferredScrollableViewportSize
            (new Dimension(500, 200));
        JScrollPane scrollPane = new JScrollPane(table);
        table.addKeyListener(new KeyAdapter() {
          public void keyTyped(KeyEvent ke) {
            if (ke.getKeyChar() == ke.VK_ENTER) {
              System.out.println(table.getSelectedRow());
        getContentPane().add(scrollPane, BorderLayout.CENTER);
        getContentPane().add(button = new JButton("Add Row"), BorderLayout.SOUTH);
        getContentPane().add(buttonQuery = new JButton("Query"), BorderLayout.NORTH);
        getContentPane().add(buttonSelectedRow = new JButton("Get Selected Row Number"), BorderLayout.NORTH);
        button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            Object[] aRow = new Object[8];
            String
                aRow1;
            for (int i = 0; i < 5; i++) {}
            myModel.addRow(aRow);
        buttonSelectedRow.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            System.out.println("Selected Row is: " + table.getSelectedRow());
        buttonQuery.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            System.out.println(myModel.getRowCount());
            System.out.println(myModel.getValueAt(1, 3));
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
      class MyTableModel
          extends AbstractTableModel {
        protected final String[] headers = {
            "No", "Vehicle No", "Date of Loss", "Image Type", "Image Description",
            "Claim Type", "Scan Date", "User Id"};
        Vector data;
        MyTableModel() {
          data = new Vector();
        public int getColumnCount() {
          return headers.length;
        public int getRowCount() {
          return data.size();
        public Object getValueAt(int row, int col) {
          if (row < data.size() && col < 8) {
            Object[] aRow = (Object[]) data.elementAt(row);
            return aRow[col];
          else {
            return null;
        public void addRow(Object[] aRow) {
          data.addElement(aRow);
          fireTableRowsInserted(data.size() - 1, data.size() - 1);
      public static void main(String[] args) {
        TableTest frame = new TableTest();
        frame.pack();
        frame.setVisible(true);

  • Error when seelcting serial numbers - Matrix - invalid row number

    When selecting serial numbers in the Inventory posting screen, we are getting the following error.  can you please assist.
    HDserialselection:0: Matrix - invalid row number

    The error message sounds like from Add-on, not B1.  Do you have any add-on installed?
    Thanks,
    Gordon

  • How can I move to row number with a search Query

    Hi everybody,
    Does anybody know how can I located a record in a multiple block, with a SQL sentence, using bind variables.
    Thanks in adviced

    Welcome to the Apple Discussions!
    Unfortunately, since Front Row has no preferences you can actually change, there's no way to change the screen now. (Besides the work arounds you've already discovered.) I would send Apple some Mac OS X feedback (since Front Row is considered part of OS X, not a stand-alone application) and let them know you'd like to be able specify the screen. You're not the first person here to ask for that option.
    http://www.apple.com/macosx/feedback/
    -Doug

  • Help with lightbox gallery widget

    Hello
    I built a website for my photography business and used the lightbox gallery widget. I'm not massively HTML minded so I tend to build in design view and just tweak the HTML code.
    The gallery is here: http://www.emmarichards.co.uk/gallery.html
    When you click on one of the photos, it is not working properly, it just takes you to another webpage with just the image. It worked fine in the live view. I'm looking at it in IE, not sure which version but a fairly up to date one I think. I've also checked it using the Mozilla browser and having the same problem. How can I rectify this please? The pages code is as follows:
    <!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>Barnsley Wedding Photographer - Emma Richards</title>
    <style type="text/css">
    <!--
    body {
    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    background: #4E5869;
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #99BADB;
    /* ~~ 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; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    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:#414958;
    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: #4E5869;
    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;
    background-color: #FFFFFF;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
    width: 80%;
    max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
    min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
    background: #FFF;
    margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    /* ~~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: #ffffff;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div 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.
    .content {
    padding: 10px 0;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
    padding: 0 15px 15px 40px; /* 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. */
    /* ~~ The footer ~~ */
    .footer {
    padding: 10px 0;
    background-color: #ffffff;
    /* ~~ 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;
    body,td,th {
    font-family: Tahoma, Geneva, sans-serif;
    -->
    </style>
    <script src="scripts/jquery.js" type="text/javascript"></script>
    <script src="scripts/lightbox.js" type="text/javascript"></script>
    <link href="css/lightbox.css" rel="stylesheet" type="text/css" />
    <link href="css/sample_lightbox_layout.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* BeginOAWidget_Instance_2127022: #gallery */
      .lbGallery {
       /*gallery container settings*/
       background-color: #ffffff;
       padding-left: 180px; 
       padding-top: 20px; 
       padding-right: 180px; 
       padding-bottom: 20px; 
       width: 900px;
       height: auto;
       text-align:center;
      .lbGallery ul { list-style: none; margin:0;padding:0; }
      .lbGallery ul li { display: inline;margin:0;padding:0; }
      .lbGallery ul li a{text-decoration:none;}
      .lbGallery ul li a img {
       /*border color, width and margin for the images*/
       border-color: #ffffff;
       border-left-width: 0px;
       border-top-width: 0px;
       border-right-width: 0px;
       border-bottom-width: 0px;
       margin-left:5px;
       margin-right:5px;
       margin-top:5px;
       margin-bottom:5px:
      .lbGallery ul li a:hover img {
       /*background color on hover*/
       border-color: #ffffff;
       border-left-width: 0px;
       border-top-width: 0px;
       border-right-width: 0px;
       border-bottom-width: 0px;
      #lightbox-container-image-box {
       border-top: 0px none #ffffff;
       border-right: 0px none #ffffff;
       border-bottom: 0px none #ffffff;
       border-left: 0px none #ffffff;
      #lightbox-container-image-data-box {
       border-top: 0px;
       border-right: 0px none #ffffff;
       border-bottom: 0px none #ffffff;
       border-left: 0px none #ffffff;
    /* EndOAWidget_Instance_2127022 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2127022" binding="#gallery" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000">
    <div class="container">
      <div class="header">
        <div align="center">
          <p><img src="1title 2.png" alt="emma richards barnsley wedding photographer" width="1144" height="368" /></p>
          <p><a href="about.html"><img src="1.png" alt="about emma richards barnsley wedding photographer" width="143" height="46" border="0" /></a><a href="weddings.html"><img src="1.weddings.png" alt="weddings information barnsley photographer" width="162" height="46" border="0" /></a><a href="gallery.html"><img src="1.gallery.png" alt="barnsley wedding photographer image gallery" width="162" height="46" border="0" /></a><a href="pricing.html"><img src="1.pricing.png" alt="barnsley wedding photographer pricing information" width="162" height="46" border="0" /></a><a href="engagements.html"><img src="1.engage.png" alt="engagement photography couples shoot barnsley" width="221" height="46" border="0" /></a><a href="http://emmarichardsuk.blogspot.com"><img src="1 blgo.png" alt="emma richards wedding photography blog" width="105" height="45" border="0" /></a><a href="contact.html"><img src="1 contact.png" alt="contact emma richards" width="162" height="46" border="0" /></a></p>
        </div>
        <!-- end .header --></div>
      <div class="content">
        <div id="gallery" class="lbGallery">
          <div align="center">
            <ul>
              <li> <a href="2.ABBIE AND KID.jpg" width="600" height="400" title=""><img src="2.ABBIE AND KID.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="2.R AND M CUTTING CAKE.jpg" title=""><img src="2.R AND M CUTTING CAKE.jpg" width="150" height="100" alt="Park Inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="alex laura 1 (5).jpg" title=""><img src="alex laura 1 (5).jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="alex laura 1 (8).jpg"><img src="alex laura 1 (8).jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a> </li>
              <li> <a href="tree closer.jpg" width="600px" height="400px" title=""><img src="tree closer.jpg" width="150" height="100" alt="" /></a> </li><br />
              <li> <a href="11.jpg" width="600" height="400" title=""><img src="11.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="10.jpg" title=""><img src="10.jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="James Ruth Church128.jpg" title=""><img src="James Ruth Church128.jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a>
              <li> <a href="2.ABBIE GROUP.jpg"><img src="2.ABBIE GROUP.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a> </li>
              <li> <a href="12-5.jpg" width="600px" height="400px" title=""><img src="12-5.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li><br />      
              <li> <a href="alex laura 1 (3).jpg" width="600" height="400" title=""><img src="alex laura 1 (3).jpg" width="150" height="100" alt="barnsley wedding photography" /></a>
              <li> <a href="confetti crop.jpg" title=""><img src="confetti crop.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="Mark &amp; Rachel 025.jpg" title=""><img src="Mark &amp; Rachel 025.jpg" width="150" height="100" alt="park inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="Abbie Ben 0336.jpg"><img src="Abbie Ben 0336.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a> </li>
              <li> <a href="Abbie Ben 0309.jpg" width="600px" height="400px" title=""><img src="Abbie Ben 0309.jpg" width="150" height="100" alt="barnsley wedding photographer" "first kiss" /></a> </li><br />
              <li> <a href="laughing 2.png" width="600" height="400" title=""><img src="laughing 2.png" width="150" height="100" alt="whitley hall wedding" "sheffield wedding photography" /></a>
              <li> <a href="2.double.jpg" title=""><img src="2.double.jpg" width="150" height="100" alt="Park Inn wedding" "wath" "barnsley" "photography" /></a>
              <li> <a href="132.jpg" title=""><img src="132.jpg" width="150" height="100" alt="whitley hall wedding" "sheffield" "barnsley wedding photographer" "reception" /></a>
              <li> <a href="Abbie and Ben 0621.jpg"><img src="Abbie and Ben 0621.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li>
              <li> <a href="Abbie Ben 0320.jpg" width="600px" height="400px" title=""><img src="Abbie Ben 0320.jpg" width="150" height="100" alt="barnsley wedding photography" /></a> </li><br />
              <li> <a href="Abbie Ben 0011 copy.jpg" width="600" height="400" title=""><img src="Abbie Ben 0011 copy.jpg" width="150" height="100" alt="bouquet" "barnsley wedding photographer" /></a>
              <li> <a href="James &amp; Ruth0202.jpg" title=""><img src="James &amp; Ruth0202.jpg" width="150" height="100" alt="barnsley wedding photographer" /></a>
              <li> <a href="alex laura 1 (4).jpg" title=""><img src="alex laura 1 (4).jpg" width="150" height="100" alt="barnsley wedding photographer"  /></a>
              <li> <a href="123.jpg"><img src="123.jpg" width="150" height="100" alt="rotherham" "park inn wedding" "wath" "barnsley" "photography" /></a> </li>
              <li> <a href="Mark &amp; Rachel 311.jpg" width="600px" height="400px" title=""><img src="Mark &amp; Rachel 311.jpg" width="150" height="100" alt= "rotherham" "Park Inn wedding" "wath" "barnsley" "photography" /></a> </li><br />
            </ul>
          </div>
        </div>
        <div align="center">
        <script type="text/javascript">
    // BeginOAWidget_Instance_2127022: #gallery
      $(function(){
       $('#gallery a').lightBox({
        imageLoading:   '/images/lightbox/lightbox-ico-loading.gif',  // (string) Path and the name of the loading icon
        imageBtnPrev:   '/images/lightbox/lightbox-btn-prev.gif',   // (string) Path and the name of the prev button image
        imageBtnNext:   '/images/lightbox/lightbox-btn-next.gif',   // (string) Path and the name of the next button image
        imageBtnClose:   '/images/lightbox/lightbox-btn-close.gif',  // (string) Path and the name of the close btn
        imageBlank:    '/images/lightbox/lightbox-blank.gif',   // (string) Path and the name of a blank image (one pixel)
        fixedNavigation:  false,  // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
        containerResizeSpeed: 400,    // Specify the resize duration of container image. These number are miliseconds. 400 is default.
        overlayBgColor:   "#ffffff",  // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
        overlayOpacity:   0,  // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
        txtImage:    'Image',    //Default text of image
        txtOf:     'of'
    // EndOAWidget_Instance_2127022
        </script><!-- end .content --></div>
    </div>
      <div class="footer">
        <hr />
        <p align="right" class="container">07794 430 229 //   [email protected]</p>
      <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>

    emmarichards4 wrote:
    Do I need to have the same path as in my root folder, so for example within my Public folder with my host, have a 'script's folder and then put the 'jquery.js' file within that or should that not matter?
    All paths (the route from the parent file to the dependent file) are crucial.
    If the path is not correct, the required file will not be found and the effect will not work.
    There's no need to upload files individually and manually place them into remote folders. DW handles all file and folder paths for you if you use the Files panel.
    For example, http://www.emmarichards.co.uk/scripts/lightbox.js = 404 error. The file still does not exist on the server in that location.
    You should be able to click on the css and scripts folders locally, click Put and all files in those folders will be uploaded correctly.

  • When importing photos with iBooks Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the imported photo?

    When importing photos with the iBooks Author Gallery widget, is anyone aware of a technique for simultaneously importing the photo's description (or jpeg file name) and writing it into the iBook Author caption field for the corresponding imported photo? I have 4,800 stills to import and can't imagine it's necessary to copy and paste the description for each.

    As always, feel free to use the 'Provide iBooks Author Feedback' menu item for features you'd like added in the future, etc.
    http://www.apple.com/feedback/ibooks-author.html
    As for AS, I'm not sure anyone has sniffed iBA's dictionary yet...google is you friend for hot prospects, I'm sure

  • Invalid number while loading a number with a coma as a group separator

    Hi,
    I'm loading a file in which I have numbers such as -9,999.99. The point is for decimal and the coma for the group separator (thousands).
    I did an alter session with a set to NLS_NUMERIC_CHARACTERS=".,"
    I have no errors with numbers such as -999.99 but as soon as I have a number with a thousand such 1,789.44 I got an invalid number error ??
    By the way when I tried to do the SQL statement directly, I also got the error
    SQL> select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual;
    select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual
    ERREUR à la ligne 1 :
    ORA-01722: Nombre non valide
    What am I missing ? What should I do to avoid the error ?
    Thxs in advance for your help.
    Rgds
    Yves

    Look carefully onto your format mask - it begins with 'S'.
    Format Model
    S
    Returns negative value with a leading minus sign (-).
    Returns positive value with a leading plus sign (+).
    Returns negative value with a trailing minus sign (-).
    Returns positive value with a trailing plus sign (+).
    Restriction: The S format element can appear only in the first or last position of a number format model.
    SQL> select to_number('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
      2  /
    TO_NUMBER('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
                                                                 1789.55
    SQL> select to_number('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
      2  /
    TO_NUMBER('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
                                                               1789.55Rgds.

  • Any Invalid Serial Number Installation Issue With PSE 12 - PE 12 Windows or Mac ?

    http://forums.adobe.com/message/5711110#5711110
    Today I went from Photoshop Elements 12 and Premiere Elements 12 tryouts to the purchased boxed versions that came with two installation discs. One of the discs was for Photoshop Elements 12 and Premiere Elements 12 Windows and the other for these versions on Mac.
    On Windows 7 Professional SP1 64 bit desktop computer, I was hit with Invalid Serial Number for the installation of Photoshop Elements 12 which I did first. Tried 4X, double and triple checking to make sure this was not "user error". It was not. On the 5th try, the purchased serial number was accepted and the installation went to a successful completion.
    Tonight a friend alerted me to reports of similar happening for a lot of Photoshop Elements 12 Mac users. See the link posted at the top of my post.
    At no time did I see this problem with Premiere Elements 12 installation from the same disc as for Photoshop Elements 12 installation.
    Afterward, I installed these programs with the same installation disc on my laptop computer Windows 8 64 bit, I did not have any problems with either installation.
    At this time, I do not know if this Invalid Serial Number is elusive to Photoshop Elements 12 or not.
    If anyone is experiencing this problem with Premiere Elements, please let us know.
    From the link above, it would appear that Adobe is working on the issue.
    Thanks.
    ATR

    shikha
    Thanks for the reply.
    In my case, I had the network firewalls and anti-virus disabled when I did the installs of Photoshop Elements 12 and Premiere Elements 12 on Windows 7 64 bit as well as Windows 8 64 bit.
    I was fortunate in that a 5th try of the serial number entry for the Photoshop Elements 12 install on Windows 7 64 bit was successful, so I did not have to do the computer restart and retry of the install with the purchased serial number. But, good to keep in mind, just in case.
    It is ironic...last time around I got caught up in the Shared Technologies issues with Photoshop Elements 11 and Premiere Elements 11 on Windows 8 64 bit, not Windows 7 64 bit. But, in that case, I did find my way eventually to a successful install on Windows 8 64 bit. This time around it was Windows 7 64 bit where the glitch occurred, but, for me, only for Photoshop Elements 12.
    But, could you clarify...are you generalizing that Photoshop Elements 12 Mac Invalid Serial Number is due to server issues and Invalid Serial Number encountered by Photoshop Elements 12 Windows is  "online - due to some firewall or network issues"?
    Just getting prepared for if and when more questions on Invalid Serial Number might pop up in this forum.
    Thanks.
    ATR

  • Add column with row number to table

    Hi,
    to a table view I'd like to add a new column that contains the row number for each row.
    I have many data sources (twelve) and with the union operator I create one output dataset. The output data is sorted by the arrangement of the input ports of the union operator.
    Is there a way to add a column with its corresponding entry number?
    Regards, FT

    I have a similar question to the original post. It seems your answer will fill the new field in all rows with the same value. But, what if we want an actual row number?
    I am simply looking to add a row number to a table. I only have one data source. The business scenario is that the output of the data service is sorted in descending order on value. I want to be able to select the first 10 (i.e. the top 10 items based on that value).
    Even if I can solve my business scenario without using a row number field after the sort, it seems like a technique that would come in handy. 
    Any ideas? I'm pretty new to using Visual Composer so I may be missing something obvious.

  • Sql loader how import a file with save the actual row number in a db field

    Hey,
    how can i save the row number for each row in a file into a database field i the same table with the sql loader (sqlldr)?
    test data:
    john doe
    joe meier
    table:
    name surname line_number_in_file
    john doe 1
    joe meier 2
    and so on ... an if an line is discarded because it is empty for example it should be as this:
    test data:
    john doe
    joe meier
    table:
    name surname line_number_in_file
    john doe 1
    joe meier 3
    thanks for helpinmg and excuse my very bad english :-)
    Message was edited by:
    user527827

    but if one of the when clause faild or some rows are
    rejectet the sequence is not right.Did you read the link?
    "If a record is rejected (that is, it has a format error or causes an Oracle error), the generated sequence numbers are not reshuffled to mask this. If four rows are assigned sequence numbers 10, 12, 14, and 16 in a particular column, and the row with 12 is rejected, the three rows inserted are numbered 10, 14, and 16, not 10, 12, and 14. This allows the sequence of inserts to be preserved despite data errors. When you correct the rejected data and reinsert it, you can manually set the columns to agree with the sequence."
    also if you read multiple lines and they inserted in
    the wrong order the number from the sequence is not
    the line number...what do you mean with "reading multiple lines and wrong order?"

Maybe you are looking for

  • [SOLVED] Bash changes consolle's colors by itself

    Hi archers, I've wrote a little script which ask for the result of a given random moltiplication because I was exercising with $RANDOM and something strange's happend. No matter where I am (Tty, Tmux, Urxvt, Xterm...) Bash changes consolle's colors b

  • Attaching a document in SAP...

    Hi All, In FB03 t-code (Document display line items), there is one option to create an attachment. Here you can attach a file(pdf, xls or etc..) from your local workstation to sap. Do anyone know, where this document gets saved in server or at sap le

  • .mov file saved from other Mac not working on new Macbook

    My old Macbook Pro started acting funny so I saved all my pictures and videos to USB drives. My new Macbook (OSX 10.5.8) with QuickTime (version 7.6.4) will not open the .mov files. Per another similar thread it was suggested to enable the "Show lega

  • In Windows 8, where does sources \ etwproviders folder locate ?

    In my windows 8 notebook,  I accidentally move a folder  sources\etwproviders (which is actually an empty folder) to my deaktop. I don't know where to move it back. Could someone advise me what to do ?   Thank you much. 

  • IPhoto 9.3 hangs on launch

    Hi, I have a problem opening iPhoto and I've exhausted every diagnostic measure I can think of. The problem is that when I launch iPhoto it hangs. If I open it normally it tells me I need to update my library and presents a dialog with 'cancel' or 'u