Pop Up Window - Dynamic Page - Need Best Solution

I'd like to create a pop-up window for my site. I've used behaviors in the past. I'm not sure if that's the best way now. Basiclly I have a photo gallery with thumbnails. Once you click the thumbnail I want a larger window to open with the image. I've seen the javascript windows used that use CSS lightbox, however I can't get it to work with my site. I guess I should mention I'm using:
ASP vbscript
SQL Database
Unit is set for repeating regions
Help me find the best solution to carry out this task. Thanks in advance.

At this time I can't post the page. This is what I'm using:
http://www.lokeshdhakar.com/projects/lightbox2/
Using asp vbscript ,ms sql database with a link to the image paths that are sitting in the images folder.
This is really all I can show you. Hopefully you can make heads of tails out of it. Thanks for answering my post!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="Connections/conn_ssfGallery.asp" -->
<%
Dim rs_ssfGallery
Dim rs_ssfGallery_cmd
Dim rs_ssfGallery_numRows
Set rs_ssfGallery_cmd = Server.CreateObject ("ADODB.Command")
rs_ssfGallery_cmd.ActiveConnection = MM_conn_ssfGallery_STRING
rs_ssfGallery_cmd.CommandText = "SELECT * FROM dbo.tbl_pictures ORDER BY picture_ID ASC"
rs_ssfGallery_cmd.Prepared = true
Set rs_ssfGallery = rs_ssfGallery_cmd.Execute
rs_ssfGallery_numRows = 0
%>
<%
Dim HLooper1__numRows
HLooper1__numRows = 25
Dim HLooper1__index
HLooper1__index = 0
rs_ssfGallery_numRows = rs_ssfGallery_numRows + HLooper1__numRows
%>
<%
'  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables
Dim rs_ssfGallery_total
Dim rs_ssfGallery_first
Dim rs_ssfGallery_last
' set the record count
rs_ssfGallery_total = rs_ssfGallery.RecordCount
' set the number of rows displayed on this page
If (rs_ssfGallery_numRows < 0) Then
  rs_ssfGallery_numRows = rs_ssfGallery_total
Elseif (rs_ssfGallery_numRows = 0) Then
  rs_ssfGallery_numRows = 1
End If
' set the first and last displayed record
rs_ssfGallery_first = 1
rs_ssfGallery_last  = rs_ssfGallery_first + rs_ssfGallery_numRows - 1
' if we have the correct record count, check the other stats
If (rs_ssfGallery_total <> -1) Then
  If (rs_ssfGallery_first > rs_ssfGallery_total) Then
    rs_ssfGallery_first = rs_ssfGallery_total
  End If
  If (rs_ssfGallery_last > rs_ssfGallery_total) Then
    rs_ssfGallery_last = rs_ssfGallery_total
  End If
  If (rs_ssfGallery_numRows > rs_ssfGallery_total) Then
    rs_ssfGallery_numRows = rs_ssfGallery_total
  End If
End If
%>
<%
Dim MM_paramName
%>
<%
' *** Move To Record and Go To Record: declare variables
Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined
Dim MM_param
Dim MM_index
Set MM_rs    = rs_ssfGallery
MM_rsCount   = rs_ssfGallery_total
MM_size      = rs_ssfGallery_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
  MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter
if (Not MM_paramIsDefined And MM_rsCount <> 0) then
  ' use index parameter if defined, otherwise use offset parameter
  MM_param = Request.QueryString("index")
  If (MM_param = "") Then
    MM_param = Request.QueryString("offset")
  End If
  If (MM_param <> "") Then
    MM_offset = Int(MM_param)
  End If
  ' if we have a record count, check if we are past the end of the recordset
  If (MM_rsCount <> -1) Then
    If (MM_offset >= MM_rsCount Or MM_offset = -1) Then  ' past end or move last
      If ((MM_rsCount Mod MM_size) > 0) Then         ' last page not a full repeat region
        MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
      Else
        MM_offset = MM_rsCount - MM_size
      End If
    End If
  End If
  ' move the cursor to the selected record
  MM_index = 0
  While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend
  If (MM_rs.EOF) Then
    MM_offset = MM_index  ' set MM_offset to the last possible record
  End If
End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range
If (MM_rsCount = -1) Then
  ' walk to the end of the display range for this page
  MM_index = MM_offset
  While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend
  ' if we walked off the end of the recordset, set MM_rsCount and MM_size
  If (MM_rs.EOF) Then
    MM_rsCount = MM_index
    If (MM_size < 0 Or MM_size > MM_rsCount) Then
      MM_size = MM_rsCount
    End If
  End If
  ' if we walked off the end, set the offset based on page size
  If (MM_rs.EOF And Not MM_paramIsDefined) Then
    If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
      If ((MM_rsCount Mod MM_size) > 0) Then
        MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
      Else
        MM_offset = MM_rsCount - MM_size
      End If
    End If
  End If
  ' reset the cursor to the beginning
  If (MM_rs.CursorType > 0) Then
    MM_rs.MoveFirst
  Else
    MM_rs.Requery
  End If
  ' move the cursor to the selected record
  MM_index = 0
  While (Not MM_rs.EOF And MM_index < MM_offset)
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend
End If
%>
<%
' *** Move To Record: update recordset stats
' set the first and last displayed record
rs_ssfGallery_first = MM_offset + 1
rs_ssfGallery_last  = MM_offset + MM_size
If (MM_rsCount <> -1) Then
  If (rs_ssfGallery_first > MM_rsCount) Then
    rs_ssfGallery_first = MM_rsCount
  End If
  If (rs_ssfGallery_last > MM_rsCount) Then
    rs_ssfGallery_last = MM_rsCount
  End If
End If
' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth
Dim MM_removeList
Dim MM_item
Dim MM_nextItem
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
  MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If
MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  End If
Next
' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
  MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "")  Then
  MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
  MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links
Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev
Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam
MM_keepMove = MM_keepBoth
MM_moveParam = "index"
' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
  MM_moveParam = "offset"
  If (MM_keepMove <> "") Then
    MM_paramList = Split(MM_keepMove, "&")
    MM_keepMove = ""
    For MM_paramIndex = 0 To UBound(MM_paramList)
      MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
      If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
        MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
      End If
    Next
    If (MM_keepMove <> "") Then
      MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
    End If
  End If
End If
' set the strings for the move to links
If (MM_keepMove <> "") Then
  MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If
MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="
MM_moveFirst = MM_urlStr & "0"
MM_moveLast  = MM_urlStr & "-1"
MM_moveNext  = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
  MM_movePrev = MM_urlStr & "0"
Else
  MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<!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>Southern Store Fixtures Inc.</title>
<link href="CSS/global.css" rel="stylesheet" type="text/css" />
<link href="CSS/layout.css" rel="stylesheet" type="text/css" />
<link href="CSS/details.css" rel="stylesheet" type="text/css" />
<!--beginning of lightbox script -->
<link href="CSS/lightbox.css" rel="stylesheet" type="text/css" />
<script src="Scripts/protype.js" type="text/javascript"></script>
<script src="Scripts/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="Scripts/lightbox.js" type="text/javascript"></script>
<!--end of lightbox script -->
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
position:absolute;
left:1226px;
top:643px;
width:284px;
height:251px;
z-index:1;
a:link {
color: #CCC;
text-decoration: none;
a:hover {
color: #5FABFF;
text-decoration: none;
a:visited {
text-decoration: none;
a:active {
text-decoration: none;
</style>
<link href="CSS/gallery.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--begining of wrapper div -->
<div id="wrapper">
  <!---begining of header--->
  <div id="header"><img src="SSFLogo.png" width="298" height="96" alt="SSFlogo" /></div>
  <!---end of header--->
  <div id="banner"><img src="blueHeader_2.png" width="950" height="133" alt="header" /></div>
  <!---begining main nav--->
  <div id="mainNav"> 
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="index.asp">Home</a>    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Company Info</a>
      <ul>
        <li><a href="#">Privacy Policy</a></li>
        <li><a href="#">About Us</a></li>
        <li><a href="#">Jobs/Career</a></li>
        <li><a href="#">Information Request</a></li>
      </ul>
    </li>
    <li><a class="MenuBarItemSubmenu" href="#">Gallery</a>
      <ul>
        <li><a class="MenuBarItemSubmenu" href="#">Store Pictures</a>
          <ul>
            <li><a href="#">Item 3.1.1</a></li>
            <li><a href="#">Item 3.1.2</a></li>
          </ul>
        </li>
</ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Products</a>
      <ul>
        <li><a href="#">Self Serve</a></li>
        <li><a href="#">Serve</a></li>
        <li><a href="#">Multi Decks</a></li>
        <li><a href="#">Combinations</a></li>
        <li><a href="#">Food Service</a></li>
        <li><a href="#">Islands</a></li>
        <li><a href="#">Produce</a></li>
        <li><a href="#">Floral</a></li>
        <li><a href="#">Hot Foods</a></li>
      </ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">News/Events</a>
      <ul>
        <li><a href="#">Inside Look</a></li>
        <li><a href="#">Happenings</a></li>
        <li><a href="#">Trade Show Schedule</a></li>
      </ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Contact</a>
      <ul>
        <li><a href="#">Customer Service</a></li>
      </ul>
    </li>
    <li><a href="#" class="MenuBarItemSubmenu">Buiss. Portal</a>
      <ul>
        <li><a href="#">Login</a></li>
      </ul>
    </li>
  </ul>
  </div>
  <!---end main nav--->
  <!---begining subBanner--->
  <div id="subBanner"><img src="secBanner.png" width="950" height="156" alt="secBanner" /></div>
  <!---end subBanner--->
  <!---begining contenMain--->
  <div id="contentMain">
    <!--beginning of gallery div -->
    <div id="gallery">
      <p>
        <!--beginning of galleryImage div -->
      </p>
      <table width="400" border="0" align="center" id="galleryNav2">
        <tr>
          <td width="100" align="center"><% If MM_offset <> 0 Then %>
              <a href="<%=MM_moveFirst%>">First</a>
          <% End If ' end MM_offset <> 0 %></td>
          <td width="100" align="center"><% If MM_offset <> 0 Then %>
            <a href="<%=MM_movePrev%>">Previous</a>
          <% End If ' end MM_offset <> 0 %></td>
          <td width="100" align="center"><% If Not MM_atTotal Then %>
            <a href="<%=MM_moveNext%>">Next</a>
          <% End If ' end Not MM_atTotal %></td>
          <td width="100" align="center"><% If Not MM_atTotal Then %>
            <a href="<%=MM_moveLast%>">Last</a>
          <% End If ' end Not MM_atTotal %></td>
        </tr>
      </table>
      <p> </p>
      <table align="center" id="HorzLooper">
        <%
startrw = 0
endrw = HLooper1__index
numberColumns = 5
numrows = 5
while((numrows <> 0) AND (Not rs_ssfGallery.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
        <tr align="center" valign="top">
          <%
While ((startrw <= endrw) AND (Not rs_ssfGallery.EOF))
%>
          <td><div id="galleryImage">
            <div id="galleryThumb"><a href="images/pic/<%=(rs_ssfGallery.Fields.Item("picture_url").Value)%> rel="lightbox"><img src="images/thumb/<%=(rs_ssfGallery.Fields.Item("thumb_url").Value)%>" alt="<%=(rs_ssfGallery.Fields.Item("alt_url").Value)%>" /></a></div>
            <div id="galleryImageID"><%=(rs_ssfGallery.Fields.Item("picture_ID").Value)%></div>
            <div id="galleryImageFamily"><%=(rs_ssfGallery.Fields.Item("family").Value)%></div>
          </div></td>
          <%
startrw = startrw + 1
rs_ssfGallery.MoveNext()
Wend
%>
        </tr>
        <%
numrows=numrows-1
Wend
%>
      </table>
      <p> </p>
      <table width="400" border="0" align="center" id="galleryNav">
        <tr>
          <td width="100" align="center"><% If MM_offset <> 0 Then %>
              <a href="<%=MM_moveFirst%>">First</a>
          <% End If ' end MM_offset <> 0 %></td>
          <td width="100" align="center"><% If MM_offset <> 0 Then %>
              <a href="<%=MM_movePrev%>">Previous</a>
          <% End If ' end MM_offset <> 0 %></td>
          <td width="100" align="center"><% If Not MM_atTotal Then %>
              <a href="<%=MM_moveNext%>">Next</a>
          <% End If ' end Not MM_atTotal %></td>
          <td width="100" align="center"><% If Not MM_atTotal Then %>
              <a href="<%=MM_moveLast%>">Last</a>
          <% End If ' end Not MM_atTotal %></td>
        </tr>
      </table>
<!--end of galleryImage div -->
    </div>
    <!--end of gallery div -->
  </div>
  <!---end of contentMain--->
  <!---begining of contentSec--->
  <div id="contentSec">
    <div id="column1"></div>
    <div id="column2"></div>
    <div id="column3"></div>
  </div>
  <!---end of contentSec--->
  <!---begining of secNav--->
  <div id="secNav">
    <div id="column1">
      <p align="center">Supermarket  </p>
      <p align="center">C-Store </p>
      <p align="center">Small  Format  </p>
      <p align="center"> Food  Service </p>
      <p align="center"> Gourmet </p>
      <p align="center"> Restaurant</p>
    </div>
    <div id="column2">
      <p align="center">Produce </p>
      <p align="center">Prepared  Foods</p>
      <p align="center">Deli </p>
      <p align="center"> Meat </p>
      <p align="center">Seafood </p>
      <p align="center">Cheese </p>
      <p align="center">Bakery </p>
      <p align="center">Floral </p>
      <p align="center">Sushi </p>
      <p align="center"> </p>
</div>
    <div id="column3">
      <p align="center">Soup </p>
      <p align="center"> Chocolate   </p>
      <p align="center">Food  Bars </p>
      <p align="center">Low  Temp </p>
      <p align="center">Gelato </p>
      <p align="center"> Hot  Cases </p>
      <p align="center"> Pizza/Sandwich </p>
      <p align="center"> Multi-Decks </p>
      <p align="center">  Islands</p>
      <p> </p>
    </div>
    <div id="column4">
      <p>Trade Shows</p>
      <p>About</p>
      <p>Info</p>
      <p>Privacy</p>
      <p>Content</p>
      <p>Service</p>
      <p>Parts</p>
      <p>Login</p>
    </div>
  </div>
  <!---end of secNav--->
  <!---begining of footer--->
  <div id="footer">Southern Store Fixtures 2010 Inc.| All Rights Reserved</div>
  <!---end of footer--->
</div>
<!--end of wrapper div -->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>
<%
rs_ssfGallery.Close()
Set rs_ssfGallery = Nothing
%>

Similar Messages

  • Expandable Sections or pages in LiveCycle, best solution

    I have a form that needs tweaking.  I need to be able to add additional info for certain sections of the form if need be.  I am not sure the best way to  go about without adding a extra page that may get printed sometimes that could be blank.   I also need to allow for expandable fields that could grow as the user enters text into them allowing the entire area to display and print.

    This form will consist of data of a listing of subjects (1-3)with Name, address, DOB and so forth.  In some occurrances there could be additional info on subjects (4-6) needed.  Instead of placing 3 more sections of fillable fields that could be blank.  I would like to add a third page( or best solution in this instance) that will be populated when needed and left blank when there are not any additional subjects (4-6) that have to be entered. The user would like to click on a button or field that would expand the additonal fillable fields when needed.

  • Pop up Window before saving remembering the need (forcing) to fill required fields in a form

    Hi!
    I searched the "old" forum and have very good help from UVSAR but unfortunately I'm not able to access my message sent to that forum anymore.
    [I could never thank all the people who answered because I keep receiving "Your submission has triggered the spam filter and will not be accepted.""]
    I've have never use Java scripts in my life: I started about three days ago.
    1) I'm using Adobe Acrobat Pro X (Windows 7)
    2) I've created a form using Microsoft Word and save it as a pdf file.
    3) After I created a form using Acrobat Pro X;
    3.1.) This form it's not going to be submitted over Internet. It will be send by e-mail to some persons. They will receive it, fill in the form and send it back to me via e-mail. Note: I will save it with extended rights in order to allow to be read with acrobat reader (I'm the only one of the group having Professional edition).
    4) In that form I've created some text fields (for now it's just what I need - no radio buttons, dropdown
    menus, and so...)
    5) Choosed Properties and marked 7 fields as "required";
    6) Used a script I found in here: http://forums.adobe.com/thread/784322 (thank you for the authors of the thread)
    if (!event.target.valueAsString) {
    app.alert("My text My text", 3);
    7) This script allows me to remember people to fill that 7 specific fields (when using mouse or tab).
    8) So... What I really need? Here are the reasons for my request for help:
    8.1.) When people use the Acrobat Reader Save button (not a button I created inside the form) it will pop up an alert message. Users will receive a pop up window telling them they need to fill those fields before saving the form and send it back to me. Can someone share a script, please? Thanks in advance.
    8.2.) Is there a way to colorize the fileds that need to be filled? Again I only learned where to insert a java script yestaerday sou I'm not able to write one. I'm sorry for my newbie questions.
    8.3.) Last question: In one of the fields there will be an e-mail address. On the end of the form I want to create a button like "Send by e-mail" and When someone press that button the e-mail will be sent to the address that was written in the earlier specific field. How can I do this (link a button to an e-mail address in a specific field)? Can someone help me with a script or ideas? Hope I was clear.
    8.1.) UVSAR sent me the following code that works fine untill I save the document for the first time. Affter that he never shows me pop up window again.
    var isFilled = true;
    for (var i=0;i < this.numFields;i++){
    var f = this.getNthFieldName(i);
    if (this.getField(f).required && !this.getField(f).valueAsString) isFilled = false;
    if (!isFilled) app.alert("You must complete all the required fields");
    8.3.) With the help of UVSAR I used:
    var mailto = this.getField('emaddr').valueAsString;
    if (mailto!='') this.mailForm({ bUI:true, cTo:mailto, cSubject:"This is the subject", cMsg: "This is the body of
    the mail." });
    else app.alert("Cannot submit form until the email address field is completed");
    but gives me an error (Note: I named the filed with e-mail "emaddr")
    Once again Thank you so very very much to all the kind people who take their time to share knowledge...
    I'm not a native speaker, sorry for some errors
    Best regards
    AC

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Opening Centered Pop-up window with Dynamic URL

    I got some code for a centered pop-up window in Flash from a
    Kirupa tutorial. It works well, except that you are supposed to put
    an actual URL for the 'address' variable. I'm using a dynamic URL
    (+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
    address, it doesn't work.
    Here's the code for the button:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "'+url[p]+'";
    target_winName = "FlashDevelopment";
    width = 700;
    height = 400;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 1;
    menubar = 0;
    scrollbars = 1;
    resizable = 1;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    And here's the function:
    // New Window Function
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Any idea why my dynamic url is not being recognized?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I'm still getting all these annoying popups windows, although I followed every solution suggested(safari extentions,block the pop ups) it's really disturbing please help :(

    I'm still getting all these annoying popups windows, although I followed every solution suggested(safari extensions,block the pop ups) it's really disturbing please help

    There is no need to download anything to solve this problem.
    You may have installed one or more of the common types of ad-injection malware. Follow the instructions on this Apple Support page to remove it. It's been reported that some variants of the "VSearch" malware block access to the page. If that happens, start in safe mode by holding down the shift key at the startup chime, then try again.
    Back up all data before making any changes.
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, ask for further instructions.
    Make sure you don't repeat the mistake that led you to install the malware. It may have come from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    Malware is also found on websites that traffic in pirated content such as video. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow. Never install any software that you downloaded from a bittorrent, or that was downloaded by someone else from an unknown source.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Looking for a best way to arrange an array of Pop Up windows with repeating small imgs

    I would like to find out what is the best way to approach setting up various Pop Up windows.
    Here is my set up:
    I have 20+ product images which act as buttons and each brings a user to a unique section with the pop up window where a large photo of this product in use is displayed. In addition to this photo in the pop up window are additional product images (which were also used to create a photographed assembly)
    I figured that since I repeat my product images on the pop up windows and all of them are already used in the product page let me use them again in the pop up window. So I arranged the pop up windows in each separate labeled section in which I reused the product images buttons from the products page and put the UI Loader into each separate labeled section which loads the big assebly photo of that product in use.
    Here are my questions:
    - Should each product have a separate labeled section with a pop up window
         This way I can reuse a number of already existing product button images and load only the high resolution assemble image
          However I end up having a lot of sections labeled for each product
    - or it should be arranged as follows:
         var sourceVar:String;
         function my_btnDown(event:MouseEvent):void {
         sourceVar="product_popups/product1_popUp.swf;
         gotoAndPlay("productsLoader");//where "productsLoader" is the labeled secion of my UI Loader
         This way I end up with one labeled section but have to implement up to 5 buttons on each new Pop Up.  In a sence I make the size of a loading pop up .swf a bit bigger by not recycling the existing buttons, but my assumption that I will have an easier funcitonality of the site?
    I am not sure which way would be a better or more appropriate way to go?

    Léonie-
    You are totally correct regarding custom tags instead of keywords depending upon the instance.
    My main point is that Folders are mostly misused. Images need to be keyworded or tagged and linked to Albums, generally not put in folders. With digital images almost always folder organization of images is just wrong, because folders by definition locate an image in just a single category. And few images are ever just in a single category.
    Some usage of folders can be helpful. Folders of Projects (e.g. 2001 Projects, Client royalfrenchel, etc.) make sense to help collapse a large number of Projects. However note that even in that simple two-folder example images cannot be in both folders at the same time without splitting the folders up.
    IMO users should spend  time carefully establishing how to keyword/tag and aggressively avoid using folders as much as possible. Eg. in Arturo's instance "week5" should be a keyword, not a folder. That way if one wants to make a brochure and use 5-week-old puppy pix it is an easy search on "week5" to retrieve pix to create an Album to peruse for brochure purposes. If "week5" instead comprises multiple deeply nested Folders subset to every litter of every Dam the process of retrieving becomes a nightmare.
    I welcome further discussion of this important topic.
    -Allen

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • Need help big time with pop-up window!

    This is probably an easy answer, I'm not a programmer or a back end guy whatsoever, I'm a graphic designer trying to make his way through a project for a client.
    I'm working up a Flash template, and I need to make a simple pop up window that will view a more detailed version of an image.  The template has a pop up window system where you add your photo to a certain frame of a movie clip.  The problem is, the pop ups have scroll bars built in, and for the life of me I couldn't figure out how to get rid of them, so I duplicated one of the movie clips that looked like it housed the framework of the pop up and deleted the scroll bar (I didn't delete any of the scroll bar code because I had no idea what I was doing).  It actually kind of worked, but the pop up window is a bit too wide and doesn't look right.
    You can view my hack job here...
    http://truetilldeathhq.com/main8_v7/main8_v7.html
    Stay on the "Print" page and click the first "01" button and an ad for Ford will come up.  Click the "Detailed View" button in the description to see the pop up window.
    My question is, there MUST be an easier way to make a pop up window than the workaround I'm using with the template.  What I'm trying to do is have a pop up for each sample of the work (all images would be the same size) for the first four buttons, and then for the "Online Banners" page, have the pop up open up to the dimensions of the particular banner ad and play the swf.  The pop ups shouldn't have scroll bars, only a title and the button to close the window.
    To view the template files, you can download them at:
    http://truetilldeathhq.com/main8_v7/main8_v7.fla
    The "descripton" movie clips have the descriptions and the "Detailed View" links in the frames, and the movie clips I not so gracefully butchered to get the pop up to work were TM_page_content_scroll (where you're supposed to put an image in a certain frame and then put the # of that frame in the Actionscript of the "Detailed View" button), and the TM_main_cont_page2 and TM_pop_up_main3, which were the ones I duplicated.
    If ANYONE can offer even the slightest bit of help, I gratefully appreciate it.  I've been working on this thing for like 15 hours a day and I can't even think straight at this point, thanks!

    I admit to not having read everything you wrote... there's just too much of it. But...
    Hashtable (and HashMap, which you should really be using unless you have some external constraint requiring the use of Hashtable) map each key to a single value object.
    That is, you can map from the key string "4996" to one single other object. And then you can also map from a different key to a different object.
    In you put() method, you add a mapping from "4996" to "good", and then you replace that mapping with one from "4996" to "home". There is only ever one value associated with a given key.
    To map multiple values to a single key, you need the value object to be a collection of some kind (or an array). So, you could map your string "4996" to a List, and that list could contain the strings "good", "home", etc.

  • What is the best solution to create SharePoint Extranet Application for existing windows web application ?

    Hello,
    At present my SharePoint farm is having following domains:
    1) Internal Domain - Domain1
    2) External Trusted Domain - Domain2
    And Following Intranet WebApplications having Windows Mode Authentication:
    1) http://mywebapp1.Domain1.com - Single site collection
    2) http://mywebapp2.Domain1.com - Multiple site collections
    3) http://mywebapp3.Domain1.com - Multiple site collections
    Both Domain1 and Domain2 users are able to access above web applications.
    Now , we have requirement to add other trusted domains Domain3 , Domain4...etc. and create Extranet Application and I have following questions :
    What kind of topology and Authentication is required ?
    AD as User Identity storage location is better way for all other domains since there is trust ?
    Do I need to just extend all the web applications in extra net zone and create site collection for different domains to isolate security and content as per the need ?
    Is there any other best solution to implement extranet application under current environment ?
    what kind of other factors are important to consider in order to create extranet application ?
    Your help will be highly appreciated.
    Thanks and Kind Regards,
    Dipti Chhatrapati

    Hi Tom,
    I have following information till now:
    External domain will be trusted with parent domain where SharePoint is installed. 
    Authentication of external domain will be Windows Authentication.
    User Identity storage location will be Active Directory of external  domain.
    Site to be accessed by external domain will be http://mywebapp1.Domain1.com
    Now question is :
    Should I assign external AD group ( Domain2ADGroups ) to SP Web Application  http://mywebapp1.Domain1.com
    OR
    Should I extend the application in extranet zone for external domain and then assign permission to extended
    application ?
    I guess , if authentication is same then no need to extend the application - correct ?
    Thank you to look at this thread !
    Dipti Chhatrapati

  • Small pop up window inside a portal page

    My portal page has one html portlet. I need to have a small pop-up window on this page which contains periodically changing messages(message is retrieved from a table in the database). The popup window should appear if the message inside the popup message has changed, otherwise it should not appear.
    this is my code below:
    declare
    cursor cur_popup is
    SELECT POPUP_MSG_READ_FLG
    FROM app_users
    WHERE PORTAL_USER_ID = portal30.wwctx_api.get_user();
    BEGIN
    open cur_popup;
    fetch cur_popup into msg_read;
    close cur_popup;
    IF msg_read = 'N' THEN
    url := PORTAL30.wwv_user_utilities.get_url('CAPS.LINK_POPUP');-- links to a portal page with popup
    portal30.wwv_redirect.url(p_url => url);
    ELSE
    url := PORTAL30.wwv_user_utilities.get_url('CAPS.LINK_without_popup');--links to a duplicate portal page without popup
    portal30.wwv_redirect.url(p_url => url);
    END IF;
    END;
    I don't want to maintain duplicate portal pages -one with onLoad=window.open('popup') and the other page without the pop up.
    Pls. suggest an alternate method. How can I pass parameters to the portal page and retrieve it in my portlet's javascript? Please let me know as I need it urgently.

    Hi Lavanya. I have implemented the same.
    Within my oracle tags, I'm using htp.print to produce the javascript for opening the window if it has not yet been viewed. It gets a bit confusing to produce one language syntax with another, but seems to work fine - you're kind of saved by pl/sql's single quote syntax vs. javascript double quotes!
    Some improvements I'd like to make are for cases where the browser has cached the content (which tells the browser to open a popup window) and to produce a receipt when the user clicks "OK" in the popup, rather than when the page is delivered.
    Let me know how it goes. Sounds like a common need - maybe we should get together and publish a new portal component! :^) Thanks, Luke.
    My portal page is not generated from within my pl/sql. My code just calls the link which,in turn calls the portal page. The portal page contains a html portlet, and the popup window is opened from <body onLoad = window.open(.....)>
    so, i cannot use htp.p here.
    Pls. help!!

  • Pop up window saying my startup disc is full, I may need to delete files. How do I get rid of this?

    I just got this pop-up window tonight. How do I get rid of this?

    You need to, you know, delete things to create some free space on your disk.
    That doesn't mean you have to discard any data:
    If you have data you haven't looked at in a long time and aren't likely to need regularly, you can burn it to CD or DVD or some other storage media and then delete it from your internal hard drive. You can still access it when needed, but it won't be taking up space on your hard drive.
    A better but more expensive option is to purchase an external hard drive (as large as you can afford, with a FireWire-800 interface for best performance) and move as much as you can onto it. Your entire iTunes library is often a good choice as it tends to be full of movies, TV shows, and music videos which - together - tend to add up to a lot of disk space. The only downside is that you will be able to access that media only when you have the external drive attached, but if you spend a lot of time at your desk or otherwise in one spot with your laptop, it's not much of a downside.
    You could also get a larger internal hard drive, of cours, but they're non-trivial to replace in recent Apple laptops.

  • I need an AS2 button that closes out a pop-up window...

    So, I’ve constructed a portfolio site with ActionScript 2.0, but I would like the pop-up window that displays the portfolio image to have its own ‘X’ button that closes the swf movie from the browser.  I’m assuming that the code begins something like this:
    on(release){
    //actionscript 2.0 code that closes the browser window.
    Any suggestions on how this will work across platforms and browsers?
    Best,
    R.

    Hi kglad,
    My main flash as2 file has a stage size of 1200 width x720 height.  I’ve looked online through various methods on creating pop-up browsers that will display a portfolio image when a button on the main.swf is clicked.  Having no luck in finding what I needed (most tutorials just give getURL examples where the image is displayed in a separate tab), it finally dawned on me to create an overlaying movie, of the same size as the document size, on the top layer of the primary flash stage.  Setting the movie symbol as ‘invisible’ keeps the movie symbol inactive and invisible until called by an action.  The button on the main.swf that calls the movie has the following as2 script attached to it:
    on(release){
                   loadMovie("images/aauComp.swf", _root.movie2);
    However, the aauComp.swf file is where the exit button is located.  I need to implement an on(release){} method onto the exit button in aauComp.swf  that will close the movie out in the main.swf file.  Here’s the double wammy, though: the exit button on the called movie file, aauComp.swf, does not recognize any gotoAndStop(); or on(release){} functions relating to itself when it is loaded. For instance, since I could not find any functions that would close the movie out and return me to the main.swf interface, I wrote the following command on the ‘exit’ button in aauComp.swf:
    on(release){
                   _root.gotoAndStop("blank_frame");
    Where “blank_frame” is within a scene of aauComp.swf that is completely empty – which should, in theory, allow for interaction with the main.swf below the loaded movie since there is nothing on that layer of the loaded aauComp.swf movie.  Make sense?  The ‘exit’ button works fine when aauComp.swf is tested and published by itself, but when it is called into the main.swf with the loadMovie(); function, the 'exit' button will not work and, so, it will not forward to the “blank_frame”.
    Any suggestions?  Let me know if you need anything clarified.
    Thanks.

  • Best solution for Windows gaming in OS X environment

    Hello!
    What would be the best solution to play Windows games in OX X environment - Parallels or VMWare?  (iMac 2012)
    I do know that is would be best for performace just to make a separate installation of Windows via BootCamp, but I need to run Windows in OS X environment only.
    I just obtained a custom-built iMac with 680MX onboard and would like to switch to Mac completely from my PC. But gaming is one of the most important aspect of my compure use. So I would like to have the ability to play as I did on PC without constant annoying reloading of the machine.

    Wine is going to give you better performance over any VM for games. It supports a great deal of DirectX 9 games and DirectX 10 support is planned for the coming months.
    Give Barrel a try (http://barrelapp.co.uk). It's an app I developed that lets you install, run and manage windows games on OS X 10.7+ by using Wine, that was designed with usability I mind. If you try it and have any questions ask and I'll answer them.
    Alternatives are wineskin and crossover for Mac.

  • Open Dynamic Page in New Window after Submission

    I need to open a "success" dynamic page in a new window when redirected from a form in Portal 9.0.4.1. The go('<url>'); method does not appear to allow opening the page in a new window. Is there a way to do this? Thanks, in advance.

    on the 'Submit' onclick event add some JavaScript code:
    this.form.target = '_blank';

Maybe you are looking for