Need help with Javascript to get value of standard report column
Hello All,
Apex version 3.1
I have a SQL Query (Updateable report) region where I need to do some validations using an OnDemand Applicaiton Process and javascript. For this validation I need to use the serial number and the item id from the same report row. The function is called when the serial number is changed. I can get the serial number easily because it is a Text field, however the item id is a standard report column (making it a text field or hidden gives me a checksum error, long story). How do I get the value for the standard report column in order to set the value for an Application item to be used in my Application Process along with the serial number? Here is my code below.
<script>
function f_ValidateSerial(pThis)
// The row in the table
var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
//alert('Row is '+vRow);
// Display the serial number
//alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value); // Here's where I need to get the item id to set application item!!
gReturn = get.get();
if (gReturn)
alert(gReturn);
if(gReturn)
html_GetElement('f21_'+vRow).value = '';
</script>
jarola wrote:
Hi,
Ok, No standard report column do not have name attribute-
You can add one extra column to report that is your Item Id with different alias.
Then change that column Display as to "Hidden".
Now you have hidden input where is your Item Id. Than input have name and id.
Regards,
JariBut this puts me back to my initial problem. When making the column hidden I get the checksum error...
Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process...
The item id is NOT in the table which I am updating (I use a subquery to get the data) so I think it has to be a standard report column. Hidden and Text Item (which have an item id) all generate the checksum error.
So I think I'm back to my original question. Given a standard report column on a row in a sql query (updateable report) region how do I get the value using Javascript?
Edited by: blue72TA on Aug 2, 2011 12:07 PM
Similar Messages
-
Need help with the session state value items.
I need help with the session state value items.
Trigger is created (on After delete, insert action) on table A.
When insert in table B at least one row, then trigger update value to 'Y'
in table A.
When delete all rows from a table B,, then trigger update value to 'N'
in table A.
In detail report changes are visible, but the trigger replacement value is not set in session value.
How can I implement this?You'll have to create a process which runs after your database update process that does a query and loads the result into your page item.
For example
SELECT YN_COLUMN
FROM My_TABLE
INTO My_Page_Item
WHERE Key_value = My_Page_Item_Holding_Key_ValueThe DML process will only return key values after updating, such as an ID primary key updated by a sequence in a trigger.
If the value is showing in a report, make sure the report refreshes on reload of the page.
Edited by: Bob37 on Dec 6, 2011 10:36 AM -
i have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest of the songs (from my cd's) from itouch to laptop please??
See this previous discussion:
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities -
Need help with representing 2 bits of data in a column
I Need help representing only 2 bits of data in a column in order to save space.
Is that possible?CommitMan wrote:
I Need help representing only 2 bits of data in a column in order to save space.
Is that possible?Yes - using Assembler....
If you need to count bits to save space, then you must be on 70's, or early 80's, hardware. So using Assembler should not be a problem. Let me guess.. a 8051 microcontroller from the 1980?
Here's what the 8051 code and memory optimisation manual says:
>
The simplest and best way to get dramatic improvements
in efficiency is to look for all variables that will have only
binary values (0 and not 0), and define them as type 'bit‘:
bit myVar;With bit variables, the full set of 8051 bit-level assembler
instructions can be used to generate very fast and
compact code. For example, the following C code:
myVar = ~myVar;
if (!myVar)
}Generates only two lines of assembler:
B200 CPL myVar
200006 JB myvar,?C0002This example uses only 5 flash bytes and 8 CPU cycles.
When you use bit variables, you can implement a
nontrivial line of C code with just one assembler
instruction.
>
<i>PS. Yes, the above is really from a manual for a real 80s microcontroller. And yes, I'm poking fun at your question as saving bits were a problem in the 80s and prior. It should not be a problem in the 21st century information system and database.</i> -
Need Help with Javascript for Acrobat Pro 9
Hello,
I am creating a PDF form in Adobe Acrobat Profession 9. Not having a lot of experience with Javascript, I have found this forum very helpful and have used many of the script examples for other issues I have had. I was hoping someone could help with the following script, I have tried many variations, cannot get it to work.
var ratio = this.getField("ratio").value
var concentration = this.getField("concentration").value
var result = this.getField("result").value
if(ratio.value>=50.00)
{result.value ='PASS';}
if(ratio.value".value>=40.00)
{result.value ='PASS';}
if((concentration.value ==61) && (ratio.value >= 49.25))
{result.value ='PASS';}
if((concentration.value ==61) && (ratio.value >= 39.25))
{result.value ='PASS';}
if((concentration.value ==62) && (ratio.value >= 48.50))
{result.value ='PASS';}
if((concentration.value ==62) && (ratio.value >= 38.50))
{result.value ='PASS';}
else
{result.value = 'FAIL';}
This is just a piece of the code The concentration values run from 61 through 99 and the ratio value varies for each concentration value, there is a high ratio and a low ratio. The result of this field with populate the results field with a PASS or FAIL. This is not working......any help is greatly appreciated!Thanks George. I updated the script to:
// Get a reference to the result field
var ratio = this.getField("ratio");
// Get a reference to the result field
var concentration = this.getField("concentration");
// Get a reference to the result field
var result = this.getField("result");
if(ratio.value>=50.00)
{result.value ='PASS';}
if(ratio.value >=40.00)
{result.value ='PASS';}
if((concentration.value ==61) && (ratio.value >= 49.25))
{result.value ='PASS';}
if((concentration.value ==61) && (ratio.value >= 39.25))
{result.value ='PASS';}
if((concentration.value ==62) && (ratio.value >= 48.50))
{result.value ='PASS';}
if((concentration.value ==62) && (ratio.value >= 38.50))
{result.value ='PASS';}
else
{result.value = 'FAIL';}
However, I am still getting a FAIL result even when the ratio is 50.00 or equal to the passable ratio. -
Need help with Java always get error
hey guys need help
this the problem i get :
I go to certain websites and I get this error with firefox.
This Site requires that JavaScript be enabled.
It is enabled.
This is the one of the errors in java script console with firefox.
Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "<unknown>" data: no]
I have installed the java script from there home site and did a test and says everything is fine. Any ideas?
please helpHi 49ers,
Sorry not to have any real idea of how to help you out here, but this is a Java forum, not JavaScript.
Some Firefox expert may stumble across your post and be able to offer some advice (I hope they do) but this isn't really the best place to post such questions.
Try here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3
Good luck!
Chris. -
I need help with my phone getting it out of recovery mode
i need help getting my iphone out of recovery mode
Placing your device into recovery (DFU-Device Firmware Upgrade) mode:
Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the
other end of the cable connected to your computer's USB port.
2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds
until the red slider appears, then slide the slider. Wait for the device to turn off.
* If you cannot turn off the device using the slider, press and hold the
Sleep/Wake and Home buttons at the same time. When the device turns off,
release the Sleep/Wake and Home buttons.
3. While pressing and holding the Home button, reconnect the USB cable to the
device. The device should turn on. Note: If you see the battery charge warning,
let the device charge for at least ten minutes to ensure that the battery has some
charge, and then start with step 2 again.
4. Continue holding the Home button until you see the "Connect to iTunes" screen.
When this screen appears you can release the Home button:
5. If necessary, open iTunes. You should see the following "recovery mode" alert:
6. Use iTunes to restore the device.
If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
Additional Information:
If you have a problem getting into recovery mode then try: RecBoot: Easy Way to Put iPhone into Recovery Mode.
Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information. -
I am a rookie and need help with max and min values
Hello all, i am into this intro to java class. my assignment is to write a program that prompts the user for two integers and then prints the sum, difference, average, product , distance (absolute value of the difference) Maximum(largest of the two) and Minimum(smallest fo the two) here is my code so far
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.Math;
public class Sample4
public static void main(String[] args) throws IOException
try // attempt the following
{ // create the stream to read from
InputStreamReader istream = new InputStreamReader(System.in); // create a buffer to hold the stream
BufferedReader console = new BufferedReader(istream); // prompt the user
System.out.println("Enter a number please"); // get input as a string
String input = console.readLine(); // convert to an integer
int num1 = Integer.parseInt(input);
System.out.println("Enter a number please"); // get input as a string
String input2 = console.readLine(); // convert to an integer
int num2 = Integer.parseInt(input2);
int sum = num1 + num2; // get the sum of the two inputs
int difference = num1 - num2; // get the difference of the two inputs
int product = num1 * num2; // get the product of the two inputs
int average = sum / 2; // get the average of the two inputs
int abs = Math.abs(difference); // get the absolute value of the two inputs
// new section
// display the number
System.out.println("The total sum = " + sum);
System.out.println("The total difference = " + difference);
System.out.println("The total product = " + product);
System.out.println("The total average = " + average);
System.out.println("The total absolute value = " + abs);
} // if something breaks, catch the exception
catch (IOException e)
System.out.println(e); // displays the exception
System.exit(1); // quits the program
}what will be the right syntax or code to find the MAX and MIN values of two numbers a User Inputs, hope someone can help with this. thank you for your help.Thanks alot man, sheesh i do not know why my book
doesnt give me all the static methods. but i do really
appreciate your help. peaceA complete list of the java.lang.Math methods can be found at http://java.sun.com/j2se/1.4/docs/api/java/lang/Math.html
btw,
max(a, b) == (a > b) ? a : b
min(a, b) == (a < b) ? a : b -
I posted a little bit ago, but solved part of the problem I'm having with this javascript. I'm new to javascript and am trying my best to understand how to do it. I have a lightbox script that I'm trying to edit so that I can have a different image be the starting point of the images in the lightbox, depending on which is clicked. Currently, no matter how I change the script, I have the same starting image. I think that I don't understand the handlers completely that affect the total script. Any help understanding these would be helpful.
Here's the affected html:
<div id="content_1" class="content">
<img src="file1bottom.png" width="982" height="674" alt="Photos of Holston Room" usemap="#filmstripmap1">
<map name="filmstripmap1" >
<area id="1" shape="poly" coords="732,91,884,97,877,198,718,187" class="open_lightbox" href="#" alt="Photo_1">
<area id="2" shape="poly" coords="724,205,874,214,868,312,717,301" class="open_lightbox" href="#" alt="Photo_2">
<area id="3" shape="poly" coords="717,324,872,332,862,432,713,420" class="open_lightbox" href="#" alt="Photo_3">
<area id="4" shape="poly" coords="711,440,865,447,857,547,709,537" class="open_lightbox" href="#" alt="Photo_4">
<area id="5" shape="poly" coords="470,150,617,130,628,231,483,245" class="open_lightbox" href="#" alt="Photo_5">
<area id="6" shape="poly" coords="481,260,630,247,641,347,491,361" class="open_lightbox" href="#" alt="Photo_6">
<area id="7" shape="poly" coords="492,380,644,363,654,460,504,477" class="open_lightbox" href="#" alt="Photo_7">
</map>
<div class="lightbox-panel">
<img id="photo1" src="HolstonImages/00.jpg" class="ntt_media_file" alt="Room Photo 1"/>
<img id="photo2" src="HolstonImages/01.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 2"/>
<img id="photo3" src="HolstonImages/02.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 3"/>
<img id="photo4" src="HolstonImages/03.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 4"/>
<img id="photo5" src="HolstonImages/04.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 5"/>
<img id="photo6" src="HolstonImages/05.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 6"/>
<img id="photo7" src="HolstonImages/06.jpg" style="display:none;" class="ntt_media_file" alt="Room Photo 7"/>
<iframe width="750" height="500" style="display:none;"
class="ntt_media_file" frameborder="0" allowfullscreen></iframe>
<div class="ntt_prev_button">
<img src="fc_left_arrow.png" id="ntt_prev_media" alt="Get Previous Media Item"/>
</div>
<div class="ntt_next_button">
<img src="fc_right_arrow.png" id="ntt_next_media" alt="Get Next Media Item"/>
</div>
<div class="ntt_close_button">
<img src="ntt_close_button.png" id="close-panel" alt="Close Lightbox"/>
</div>
</div>
<div id="lightbox_background"></div>
</div>
Here is the javascript (highlighted where I'm trying to add script to change it to pull up which image I want:
$(document).ready(function(){
// When a link of class open_lightbox is clicked this function is triggered
$("#1.open_lightbox").click(function(){
// Sets the opacity for the background shadow to 85%
$("#lightbox_background").css({opacity: 0.75});
// Makes all of the hidden parts of the lightbox appear
$("#lightbox_background, .lightbox-panel, .ntt_close_button, .ntt_next_button, .ntt_prev_button").fadeIn(300);
// Gets the height and width of the first media type displayed
// Media type is a reference to any images or movies
ntt_img_height = $('.ntt_media_file:first').css('height');
ntt_img_width = $('.ntt_media_file:first').css('width');
// Changes the size of the parent div that surrounds the media on screen
// Animate will make the changes slowly for dramtic effect
$('.ntt_media_file:first').parent().animate({
height: ntt_img_height+100,
width: ntt_img_width
}, "slow");
$("#2.open_lightbox").click(function(){
$("#lightbox_background").css({opacity: 0.75});
$("#lightbox_background, .lightbox-panel .ntt_close_button, .ntt_next_button, .ntt_prev_button").fadeIn(300);
$(".ntt_media_file").is("#photo2")
// If an img is clicked on with the id of close-panel run this function
$("img#close-panel").click(function(){
// Make all the lightbox elements disappear
$("#lightbox_background, .lightbox-panel, .ntt_close_button, .ntt_next_button, .ntt_prev_button").fadeOut(300);
// When the next button is clicked it triggers a click event on
// the current image visible on the screen
$("img#ntt_next_media").click(function(){
$(".ntt_media_file:visible").trigger('click');
// Closes the lightbox if the escape key is pressed
$(document).keypress(function(e) {
// If the key pressed was escape close the lightbox
if(e.keyCode == 27)
$("#lightbox_background, .lightbox-panel").fadeOut(300);
// This event is triggered any time the user clicks on anything with a
// class of ntt_media_file.
// It cycles through the different media types from first to last
$(".ntt_media_file").click(function(){
if( $(this).next('.ntt_media_file').length == 0)
// Make all visible media disappear in the lightbox
$(".ntt_media_file:visible").toggle();
// Display the first media in the lightbox
$(".ntt_media_file:first").toggle();
// Call this to resize the div that surrounds the media
// based on the size of the media displayed
ntt_resize_div_container();
} else {
// Make all visible media disappear in the lightbox
$(".ntt_media_file:visible").toggle();
// this is a reference to the element that was clicked to trigger
// this function. This statement is causing the next media
// with the class ntt_media_file to appear
$(this).next('.ntt_media_file').toggle();
// Call this to resize the div that surrounds the media
// based on the size of the media displayed
ntt_resize_div_container();
// This event is triggered any time the user clicks on the previous
// button.
// It cycles backwards through the different media types
$(".ntt_prev_button").click(function(){
// This checks to see if a media file is available to display
if( $(".ntt_media_file:visible").prev('.ntt_media_file').length == 0)
// Make all visible media disappear in the lightbox
$(".ntt_media_file:visible").toggle();
// Display the first media in the lightbox
$(".ntt_media_file:last").toggle();
// Call this to resize the div that surrounds the media
// based on the size of the media displayed
ntt_resize_div_container();
} else {
// Get the current index value for the media shown
var ntt_current_media_shown = $(".ntt_media_file:visible").index();
// Get the index for the media that proceeds the current image
var ntt_prev_item_to_show = ntt_current_media_shown - 1;
// Toggle off all visible media in the lightbox
$(".ntt_media_file:visible").toggle();
// Toggle on the media previous to the last shown
$(".ntt_media_file").eq(ntt_prev_item_to_show).toggle();
// Call this function to resize the div based on dimensions
// of the media shown in the lightbox
ntt_resize_div_container();
// Call this function to resize the div based on dimensions
// of the media shown in the lightbox
function ntt_resize_div_container()
// Get the current height and width of the visible media in lightbox
ntt_img_height = $(".ntt_media_file:visible").css('height');
ntt_img_width = $(".ntt_media_file:visible").css('width');
// Define the margins based on the size of the image
ntt_img_margin_top = (ntt_img_height / 4);
ntt_img_margin_left = (ntt_img_width / 4);
// Target the div that surrounds the visible media (it's a div)
// Adjust the size of the parent div based on the dimensions
// of the media it contains
$(".ntt_media_file:visible").parent().animate({
height: ntt_img_height+100,
width: ntt_img_width
}, "fast");
$(".ntt_media_file:visible").parent().css({
'position': 'fixed',
'top': '22%',
'left': '22%',
'min-width': '775px',
'margin-top': ntt_img_margin_top,
'margin-left': ntt_img_margin_left
Here is the link the the uploaded script and html: www.theriveroverlook.com/Trial.htmlHi,
May be this can help:
<html>
<body>
<script language="javascript">
var num1=0;
var num2=0;
var num3=0;
function printGrade(){
var score=prompt("Enter your score","Enter your score");
if(score>81)
alert("Grade : A");
else if(score>61)
alert("Grade : B");
else if(score>41)
alert("Grade : C");
else
alert("Grade : D");
function input3Number(){
num1=prompt("Enter First Number","Enter First Number");
num2=prompt("Enter Second Number","Enter Second Number");
num3=prompt("Enter Third Number","Enter Third Number");
function returnMax(){
input3Number();
if(num1>num2){
if(num1>num3)
alert(num1);
else
alert(num3);
}else{
if(num2>num3)
alert(num2);
else
alert(num3);
function returnMin(){
input3Number();
if(num1<num2){
if(num1<num3)
alert(num1);
else
alert(num3);
}else{
if(num2<num3)
alert(num2);
else
alert(num3);
function daysInMonth(){
var monthNumber=prompt("Enter Month in Number","");
if(monthNumber==1 || monthNumber==3 || monthNumber==5 || monthNumber==7 || monthNumber==8 || monthNumber==10 || monthNumber==12)
alert("Days in Month is : 31");
else if(monthNumber==2)
alert("Days in Month is : 28/29 (Leap year)");
else
alert("Days in Month is : 30");
</script>
<input type="button" name="month1" value="Days in a Month" onclick="daysInMonth()">
<input type="button" name="B1" value="Calculate Grade" onclick="printGrade()">
<input type="button" name="max" value="Maximum number" onclick="returnMax()">
<input type="button" name="max" value="Minimum number" onclick="returnMin()">
</body>
</html> -
Just started Livecycle yesterday. Need help with Javascripting
I'm new to scripting in general, but have figured out enough to be dangerous in Acrobat. Unfortunately, Acrobat no longer fulfills the need I have for dynamic forms and I have started trying to figure out Livecycle. Is the scripting in Livecycle THAT different from Acrobat that I need to relearn the scripting I figured out in Acrobat? Below is an example. It is in a table where I am trying to determine height of instrument (HI) from the elevation (Ele) and the difference between back (BS) and fore sights (FS). Any help is greatly appreciated. Thanks!
This is the script I used in Acrobat and it worked:
if(this.getField("BSRow2").value) {
var add = this.getField("BSRow2").value + this.getField("EleRow1").value
this.getField("HIRow2").value = add;
} else {
var height = this.getField("HIRow1").value
this.getField("HIRow2").value = height;
This is the script I used in Livecycle and it doesn't
if(this.getField(BS).value) {
var add = this.getField(BS).value + this.getField(Row1.Ele).value
this.getField(this).value = add;
} else {
var height = this.getField(Row1.HI).value
this.getField(this).value = height;Hi i just started programming in java.
im running j2se 1.5.0 on windows xp
im on the subject of classes and objects.
here is my simple little code im trying to get to
compile
public class Newprog
public static void main(String[] args)
Greeter myObjectGreeter = new Greeter();
myObjectGreeter.sayHello();
}now here are the error messages i get:
--------------------Configuration:
<Default>--------------------
C:\Program Files\Java\jre1.5.0_07\lib\Newprog.java:5:
cannot find symbol
symbol : class Greeter
location: class Newprog
Greeter myObjectGreeter = new
Greeter();
^
s\Java\jre1.5.0_07\lib\Newprog.java:5: cannot find
symbol
symbol : class Greeter
location: class Newprog
Greeter myObjectGreeter = new
Greeter();
^
get this error message alot....well actually just
about everytime..
I got it working just once using texteditor but have
no clue how i did it that time...now nomatter what i
try i get this error
I have my enviornmental variable set at
path = C:\Program Files\Java\jdk1.5.0_07\bin;
i am using JCreator Le
i downloaded exact codes from websites and they still
compile with this error..
if anybody with patience could tell me what i need to
do
would i have to configure java some more with
variables?
is my installation wrong?
do i have to save the work on a different file?
thanks in advance
Well here is all that goes
As you said you were pretty new
I suspect the following error done by most of the novice programmers in JAVA
Where is the Greeter class ??
ok may be you must have defined it somewhere else
Mostly the Java Compiler hasnt found out your Greeting class
Try locating that " Greeter.java"
or mention it in an other file located in the same folder as "Newprog.java"
public class Newprog
public static void main(String[] args)
Greeter myObjectGreeter = new Greeter();
myObjectGreeter.sayHello(); -
Need help with JavaScript "Galleria" gallery coding
I am trying to create a clickable gallery with the filmstrip either on the top or on left hand side for people to click to see my portfolio. I want the first photo to be auto loaded. I downloaded the javascript from;
http://galleria.aino.se/
I have the coding for;
galleria.js
galleria.classic.js
jquery.min.js
I try the basic tutorial given on the website http://galleria.aino.se/
but it seem more coding are needed.
I want the similar gallery as shown on the above website without the black void space on the side of the large photo. I do not want the Rewind and Fastforward buttons as shown on the side of the large photo (not on the thumbnail)
I have tried downloading few similer files and trying to use their html coding but there werent the full tutorial.
The coding below only shows two small photos left top of the page without the large photo either on top of them.
I dont understand much about coding. Only been doing this for like few months and still learning but i am stuck now. Much apperciated if you can help me out here with what code need to go where. Many thanks.
<!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>Untitled Document</title>
<script src="test/jquery.min.js"></script>
<script src="test/galleria.js"></script>
<script>Galleria.loadTheme('test/galleria.classic.js');</script>
<script>$('.gallery').galleria();</script>
</head>
<body>
<div class="gallery">
<a href="_images/home/Bridge.png"><img src="_images/home/Bridge.png" width="100"></a>
<a href="_images/home/Haz_Restaurant.JPG"><img src="_images/home/Haz_Restaurant.JPG" width="100"></a>
</div>
</body>
</html>Using the same files, i have found a different code where they place the tumbnails at the bottom of the slideshow rather than on the side. Here is the code;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Galleria Demo 1</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="imagetoolbar" content="false">
<meta name="description" content="">
<meta name="keywords" content="">
<link href="test/galleria.css" rel="stylesheet" type="text/css" media="screen">
<script type="text/javascript" src="test/jquery.min.js"></script>
<script type="text/javascript" src="test/jquery.galleria.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.gallery_demo_unstyled').addClass('gallery_demo'); // adds new class name to maintain degradability
$('ul.gallery_demo').galleria({
history : true, // activates the history object for bookmarking, back-button etc.
clickNext : true, // helper for making the image clickable
insert : '#main_image', // the containing selector for our main image
onImage : function(image,caption,thumb) { // let's add some image effects for demonstration purposes
// fade in the image & caption
image.css('display','none').fadeIn(1000);
caption.css('display','none').fadeIn(1000);
// fetch the thumbnail container
var _li = thumb.parents('li');
// fade out inactive thumbnail
_li.siblings().children('img.selected').fadeTo(500,0.3);
// fade in active thumbnail
thumb.fadeTo('fast',1).addClass('selected');
// add a title for the clickable image
image.attr('title','Next image >>');
onThumb : function(thumb) { // thumbnail effects goes here
// fetch the thumbnail container
var _li = thumb.parents('li');
// if thumbnail is active, fade all the way.
var _fadeTo = _li.is('.active') ? '1' : '0.3';
// fade in the thumbnail when finnished loading
thumb.css({display:'none',opacity:_fadeTo}).fadeIn(1500);
// hover effects
thumb.hover(
function() { thumb.fadeTo('fast',1); },
function() { _li.not('.active').children('img').fadeTo('fast',0.3); } // don't fade out if the parent is active
</script>
<style media="screen,projection" type="text/css">
/* BEGIN DEMO STYLE */
*{margin:0;padding:0}
body{padding:20px;background:white;text-align:center;background:black;color:#bba;font:80% /140% georgia,serif;}
h1,h2{font:bold 80% 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase;}
a{color:#348;text-decoration:none;outline:none;}
a:hover{color:#67a;}
.caption{font-style:italic;color:#887;}
.demo{position:relative;margin-top:2em;}
.gallery_demo{width:702px;margin:0 auto;}
.gallery_demo li{width:68px;height:50px;border:3px double #111;margin: 0 2px;background:#000;}
.gallery_demo li div{left:240px}
.gallery_demo li div .caption{font:italic 0.7em/1.4 georgia,serif;}
#main_image{margin:0 auto 60px auto;height:438px;width:700px;background:black;}
#main_image img{margin-bottom:10px;}
.nav{padding-top:15px;clear:both;font:80% 'helvetica neue',sans-serif;letter-spacing:3px;text-transform:uppercase;}
.info{text-align:left;width:700px;margin:30px auto;border-top:1px dotted #221;padding-top:30px;}
.info p{margin-top:1.6em;}
</style>
</head>
<body>
<h1>Galleria Demo 01</h1>
<div class="demo">
<div id="main_image"></div>
<ul class="gallery_demo_unstyled">
<li><img src="test/img/flowing-rock.jpg" alt="Flowing Rock" title="Flowing Rock Caption"></li>
<li><img src="test/img/stones.jpg" alt="Stones" title="Stones - from Apple images"></li>
<li class="active"><img src="test/img/grass-blades.jpg" alt="Grass Blades" title="Apple nature desktop images"></li>
<li><img src="test/img/ladybug.jpg" alt="Ladybug" title="Ut rutrum, lectus eu pulvinar elementum, lacus urna vestibulum ipsum"></li>
<li><img src="test/img/lightning.jpg" alt="Lightning" title="Black & White"></li>
<li><img src="test/img/lotus.jpg" alt="Lotus" title="Fusce quam mi, sagittis nec, adipiscing at, sodales quis"></li>
<li><img src="test/img/mojave.jpg" alt="Mojave" title="Suspendisse volutpat posuere dui. Suspendisse sit amet lorem et risus faucibus pellentesque."></li>
<li><img src="test/img/pier.jpg" alt="Pier" title="Proin erat nisi"></li>
<li><img src="test/img/sea-mist.jpg" alt="Sea Mist" title="Caption text from title"></li>
</ul>
<p class="nav"><a href="#" onclick="$.galleria.prev(); return false;">« previous</a> | <a href="#" onclick="$.galleria.next(); return false;">next »</a></p>
</div> -
Need help with javascript drop down menu
Hi,
I inherited a website that was already created. I do not know
what version of dreamweaver they created it in but I have
Dreamweaver MX 2004. I am trying to make changes to the drop down
menus. I have figured most everything else out about dreamweaver
but cant figure out how these menu's are made or can be modified. I
have gone into the main template and clicked on the menu section I
want to modify. All it shows it a link to javascript:; I have
searched everywhere for what this means or how to modify it but
can't find anything. Can someone tell me how to get to this info so
I can make changes. Thanks. My website is www.pfcal.org if that
helps.Oh boy. Templates are not for uploading. They have no effect
on the
server. They only change local files which must then be
uploaded to the
server. But - I'm troubled by this comment -
> It didnt give me an option to "save" though
When you made the changes did the template page get marked as
"dirty" (with
an asterisk beside the name)? Which DW are you using?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"sjg23" <[email protected]> wrote in message
news:[email protected]...
> Ok. thanks. I did that but nothing changed. Here is what
I have now:
>
> <div id="MMMenuContainer1112210633_0">
> <div id="MMMenu1112210633_0"
onmouseout="MM_menuStartTimeout(100);"
> onmouseover="MM_menuResetTimeout();">
> <a href="../message_director.cfm"
id="MMMenu1112210633_0_Item_0"
> class="MMMIFVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> Director's Message
> </a>
> <a href="../mission.cfm"
id="MMMenu1112210633_0_Item_1"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> Our Mission
> </a>
> <a href="../history.cfm"
id="MMMenu1112210633_0_Item_2"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> Our History
> </a>
> <a href="../leadership_transiton.cfm"
id="MMMenu1112210633_0_Item_3"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> Leadership Transition
> </a>
> <a href="../pcl_organized.cfm"
id="MMMenu1112210633_0_Item_4"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> How PCL is Organized
> </a>
> <a href="../board_directors.cfm"
id="MMMenu1112210633_0_Item_5"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
>
Board of Directors and Officers
> </a>
> <a href="VideoNGO.cfm" id="MMMenu1112210633_0_Item_6"
> class="MMMIVStyleMMMenu1112210633_0"
>
onmouseover="MM_menuOverMenuItem('MMMenu1112210633_0');">
> See our promotional video</a>
>
> </div>
> </div>
>
> I made this change in the html code of the page
"main.dwt" which is my
> main
> template. It didnt give me an option to "save" though so
it's like it
> doesnt
> recognize that I changed anything. I saved it anyway and
uploaded but no
> change
> on the web.
> -
Need help with Expressions to get the sum of rows between dates
Date Total
8/06/2010 $2000
8/10/2010 $5000
8/28/2010 $2500
9/10/2010 $5000
9/16/2010 $2000
9/25/2010 $7000
9/28/2010 $2500
I need sum of rows based on month. I have tried following syntax. It did not work, which is returning $0. Appreciate any help i get.
=sum(iif(Date.value>="8/01/2010" AND Date.value<="8/30/2010",Total.value,0))Hi RG K,
According to your description, you want to calculate sum of total based on month use expression, but the expression does not work. If that is the case, please refer to the following steps:
In design surface, right-click Insert and click Text Box.
Right-click inside of the text box, then click expression.
In Expression text box, type the expression like below:
=sum(iif(Fields!Date.Value>="8/01/2010" AND Fields!Date.Value<="8/30/2010",Fields!total.Value,CDec(0)))
In this expression, the data type of total is Decimal, so we need to convert 0 to Decimal use CDec() function. If data type of total is Double, we need to use CDbl() function.
The following screenshot is for your reference:
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
Need Help with Boot up getting circle with slash on Dual 1 GZ MMD G4
Hi everone, I'm having a problem with my old Dual 1GZ MMD G4 booting up from the HD consistently. I had to replace the power supple very recently and after that I'm having trouble. I've even installed a 250 HD and completely reinstalled the OX back to Jeopard and sometime after it sits it will boot up just fine..... but after restart even holding down OPTION and it see's the HD it will not boot up ( just getting circle with slash) I've verifyed the HD and a repair permissions and all checks out ok! I've have two different HD's that check out ok with disk utility and I still get the same results.... GETTING VERY FRUSTRATED:(
Any help or ideas would be greatly appreciated! THANKS!
Scott F.Thanks for your reply! After reading another post I found out what the issue was and I was about to give up......
The Dual processor board was not seated and after reseating it back to the main board it been all good! Theres really know way to tell by looking at it, just gave it a push and noticed it was not right. CRAZY after all the time playing with HD's it was that..... Like the post I read it happen after replacing the Power Supple and I guess it just moved a tiny bit out of place..... I hope this helps others and again thanks for your HELP!!!! -
Need help with formula that puts values in Field1 based on value of field2
I have two custom fields in the Contact record - Date met and Time Known. Date met is a standard date field that is entered by the user. I then wanted Time Known to automatically populate with specific values based on a formula I wrote. However, the formula/function is not working properly.
I'm also not sure if this should be a pre or post field formula, field validation, or workflow. Please help! Here's the formula I have so far. It worked for a new record created, but now doesn't work at all for some reason (probably from my testing).
IIf(Today()-[<dResearch_Date_ITAG>]<365,"Less than One Year",IIf(Today()-[<dResearch_Date_ITAG>]<1095,"One to Three Years", IIf(Today()-[<dResearch_Date_ITAG>]<1825,"Three to Five Years",IIf(Today()-[<dResearch_Date_ITAG>]<3650,"Five to Ten Years","Ten Plus Years"))))
This says the following:
If Date Met is less than 365 from today, then enter "Less than One Year" into the Time Known field;
if date met is less than 1095 (but greater than 365) days from today, then enter "One to Three Years"
if date met is less than 1825 (but greater than 1095) days from today, then enter "Three to Five Years"
if date met is less than 3650 (but greater than 1825) days from today, then enter "Five to Ten Years"
otherwise, enter "Ten Plus Years" for all values greater than 3650.
What am I doing wrong? I'm new to expressions and formulas in Oracle.Hi, You have to do @ 2 places. For setting the field value @ the time of creating a new record using the field default feature. Check post default as the calculated value is dependent on some other field that you are going to set @ the time of creation. For updating the field whenever the record is modified, use workflows
-- Venky CRMIT
Maybe you are looking for
-
Colors don't match between PS and AI (CS 3)
CMYK images are displaying differently for me between PS and AI. In PS when they look "good" (and print similarly on my profiled Epson), in AI they look more contrasty and saturated, with a little color shift in the greens (towards blue). My monitor
-
Center cost for item sales document
It is possible open the field cost center into item of a sales docoment? If it is, how can i do it? Thanks.
-
Webpage not loading shockwave graphics
I am trying to give one of my users access to the following webpage http://www.shambles.net/newsletter/november2005/clock/clock_sunna.info.swf When the user goes to this address (in a limited standard user account) she is presented with the icon to s
-
Control Lync desktop sharing between different subnets
Hi all..I want to control desktop sharing between differnet network.You consider this as we have multiple process.So desktop sharing should not work between other federated partners. I have federation with xxxx.com for one xxxsubnet another federatio
-
Is it bug for adobe air on ios??
I am checking for the Loader class on the ios platform.Surprisingly I am never able to load any transparent png as tranparent, a white background is always added to that when i load image from the CameraRoll using loadFilePromise() method of loader.