Please help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Please help

    Please help me my company asked me to update the website.

    What I'm asking is that if you click on the image that it pops out and you can see the BIG Picture.
    Can any 1 please help me.

    Code:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="../Connections/SMEI.asp" -->
    <%
    var SMEI = Server.CreateObject("ADODB.Recordset")
    SMEI.ActiveConnection = MM_SMEI_STRING
    SMEI.Source = "SELECT * FROM Project"
    SMEI.CursorType = 0;
    SMEI.CursorLocation = 2;
    SMEI.LockType = 1;
    SMEI.Open();
    var SMEI_numRows = 0;
    %>
    <!--#include file="../Connections/smei.asp" -->
    
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>: SMEI PROJECTS :</title>
    <style type="text/css">
    <!--
    .style3 {
    	font-size: 24px;
    	color: #000066;
    	font-family: "Trebuchet MS";
    	font-weight: bold;
    }
    .style4 {font-family: "Trebuchet MS"}
    -->
    </style>
    </head>
    
    <body>
    <form name="form1" method="post" action="">
    <p class="style3">Our Projects </p>
    
         <%
    	 
    	  If smei.eof = True Then
    	  response.write "<div align='center'><font face='verdana' color='white'>No Projects Found"
    	  response.write "<br>"
    
    	  Else
    
    	  %>
    	  
    	  
    	   <%
    Dim counter1
    Counter1 = 0
    While ((Repeat1__numRows <> 0) AND (NOT Smei.EOF))
    
    Counter1 = Counter1 + 1
    Response.write "<span class='style8'><b>Candidate Number&nbsp;"
    Response.write counter1
    Response.write "</span></b>"
    
    
    
    %>
         <table width="565" border="1">
           <tr>
             <td width="136"><span class="style4">Client</span></td>
             <td width="205"><label></label>
                 <%=(SMEI.Fields.Item("Client").Value)%></td>
             <td width="202" rowspan="5"><%=(SMEI.Fields.Item("Image").Value)%></td>
           </tr>
           <tr>
             <td><span class="style4">Project</span></td>
             <td><%=(SMEI.Fields.Item("Project").Value)%></td>
           </tr>
           <tr>
             <td><span class="style4">Project Scope </span></td>
             <td><%=(SMEI.Fields.Item("Project_scope").Value)%></td>
           </tr>
           <tr>
             <td><span class="style4">Contract Value </span></td>
             <td><%=(SMEI.Fields.Item("Contact Value").Value)%></td>
           </tr>
           <tr>
             <td><span class="style4">Completion</span></td>
             <td><%=(SMEI.Fields.Item("Completion_date").Value)%></td>
           </tr>
         </table>
    	 <%
    
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      Smei.MoveNext()
    
    
    
    
    Wend
    end if
    
    %>
    </form>
    <p>&nbsp;</p>
    <p class="style4" align="center">&nbsp;</p>
    </body>
    </html>
    <%
    SMEI.Close();
    %>
    <%
    smei.Close()
    %>
    BakGat
    Code:
    class Counter {
    public:
      void Count();
      int  ReadDisplay();
    private:
      int  CurrentCount;
    };








    Back up my hard drive? How do I put it in reverse?
    My Community
    BakGat
    sigpic

    #2
    u mean ajax?
    Heres one.
    jQuery lightbox for images, videos, YouTube, iframes, ajax | St

    Comment


      #3
      I want to update this part of the

      <td width="202" rowspan="5"><%=(SMEI.Fields.Item("Image").Value)%> </td>
      BakGat
      Code:
      class Counter {
      public:
        void Count();
        int  ReadDisplay();
      private:
        int  CurrentCount;
      };








      Back up my hard drive? How do I put it in reverse?
      My Community
      BakGat
      sigpic

      Comment


        #4
        I saw that in js a long time ago at www.hotscripts.com, if it works for u js but really can't find it now.
        <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

        Comment


          #5
          jQuery lightbox or jQuery fancy box is what you need. Google it.

          Comment


            #6
            something simple like this crap demo ?
            It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
            ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
            ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
            キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

            Comment


              #7
              I want the image to open in a new tab when you click on it simple as that.................
              BakGat
              Code:
              class Counter {
              public:
                void Count();
                int  ReadDisplay();
              private:
                int  CurrentCount;
              };








              Back up my hard drive? How do I put it in reverse?
              My Community
              BakGat
              sigpic

              Comment


                #8
                I dont really know to much asp but at a guess would say:
                PHP Code:
                <td width="202" rowspan="5"><%=(Replace(SMEI.Fields.Item("Image").Value"img""img target=\"_blank\""))%> </td

                Comment


                  #9
                  Originally posted by something else View Post
                  I dont really know to much asp but at a guess would say:
                  PHP Code:
                  <td width="202" rowspan="5"><%=(Replace(SMEI.Fields.Item("Image").Value"img""img target=\"_blank\""))%> </td
                  Gives an error.

                  Code:
                  Microsoft VBScript compilation error '800a0408' 
                  
                  Invalid character 
                  
                  /asp/project data.asp, line 76 
                  Response.Write((Replace(SMEI.Fields.Item("Image").Value, "img", "img target=\"_blank\"")))
                  BakGat
                  Code:
                  class Counter {
                  public:
                    void Count();
                    int  ReadDisplay();
                  private:
                    int  CurrentCount;
                  };








                  Back up my hard drive? How do I put it in reverse?
                  My Community
                  BakGat
                  sigpic

                  Comment


                    #10
                    how about:
                    PHP Code:
                    <td width="202" rowspan="5"><%=Replace(SMEI.Fields.Item("Image").Value'img''img target="_blank"')%> </td

                    Comment


                      #11
                      Same Error

                      Code:
                      Microsoft VBScript compilation error '800a03ea' 
                      
                      Syntax error 
                      
                      /asp/project data.asp, line 76 
                      Response.Write(Replace(SMEI.Fields.Item("Image").Value, 'img', 'img target="_blank"'))
                      BakGat
                      Code:
                      class Counter {
                      public:
                        void Count();
                        int  ReadDisplay();
                      private:
                        int  CurrentCount;
                      };








                      Back up my hard drive? How do I put it in reverse?
                      My Community
                      BakGat
                      sigpic

                      Comment


                        #12
                        oops i was wrong anyway ..... adding target="_blank" wouldnt work to a html image code lol
                        wth was i thinking .... guess would need the equivalent of php`s preg replace to use the image address twice once in the <a href and once in the <img src

                        Comment

                        Working...
                        X