Error in IE or Error in my Code..Need Help.
Hi! all..
I am trying to use page indices (using <A NAME> and
<A HREF> tags) with grouping using CFML and SQL on a long
page..so that i don't have to do scroll down..
I have a SQL table containing names, address, city, state and
zipcode.
I am fetching all the data from SQL and display all the
records using grouping with last name of a person.
Even i am using page indices so that i don't have to scroll
down to find people using a perticular last name.
I can click on links available at the top of the page that is
associated with the display of a group of people with
same last name.
Everything is right with my code and it is working fine with
other browsers except "internet explorer".
can you help me to find out why it is not working with IE or
do i have to use any other syntax to work it
correctly in IE..
My templete code is below
<CFQUERY name="get_page_group" datasource="Vishal">
SELECT * FROM Tech_Address ORDER BY Tech_Last_Name,
Tech_First_Name
</CFQUERY>
<CFQUERY name="get_distinct_group" datasource="Vishal">
SELECT Distinct Tech_Last_Name FROM Tech_Address ORDER BY
Tech_Last_Name
</CFQUERY>
<html>
<head>
<title>See Page Indices and Grouping
together</title>
</head>
<body>
<h3>See Page Indices and Grouping together</h3>
<BR>
Click on a link below to go to the Employee group
<BR>
<BLOCKQUOTE>
<CFOUTPUT query="get_distinct_group">
<a href="###Tech_Last_Name#">find
#Tech_Last_Name#</a><BR>
</CFOUTPUT>
</BLOCKQUOTE>
<HR>
<BR>
<CFOUTPUT query="get_page_group"
group="Tech_Last_Name">
<a
name="#Tech_Last_Name#"><strong>#Tech_Last_Name#
here</strong></a>
<UL>
<CFOUTPUT>
<LI> <strong>First Name</strong> :
#Tech_First_Name#<BR>
<strong>Last Name</strong> :
#Tech_Last_Name#<BR>
<strong>Street Address</strong> :
#Tech_Street_Address#<BR>
<strong>City</strong> : #Tech_City#<BR>
<strong>State</strong> : #Tech_State#<BR>
<strong>Zip Code</strong> :
#Tech_ZipCode#<P>
</CFOUTPUT>
</UL>
</CFOUTPUT>
</body>
</html>
Change this:
<a href="###Tech_Last_Name#">find
#Tech_Last_Name#</a>
To this:
<a href="##anch_#Tech_Last_Name#">find
#Tech_Last_Name#</a>
Then change this:
<a
name="#Tech_Last_Name#"><strong>#Tech_Last_Name#
here</strong></a>
To this:
<a name="anch_#Tech_Last_Name#"
id="anch_#Tech_Last_Name#"><strong>#Tech_Last_Name#
here</strong></a>
Make sure <a name="anch_#Tech_Last_Name#" ... does not
appear more than once in the page.
If it still doesn't work in IE, you may need to set a proper
doc type and validate your html.
(Both of which you should do anyway.)
Similar Messages
-
Help IP restore error 21 (DFU ) running DFU and error 1600. I need help
I restore error 21 ( DFU ) >>> running DFU and error 1600. >>> I need help ?
ip 4, 32g is me. I running FW up ios 6.0 >> error 21 ( DFU ) >> mode DFU >>>> error 1600 ( recovery mode )
-
Hello, I have a problem on my iPhone every second turn on and off I mean it shows the apple and off and again shows the apple icon and off and tried to Restore and it hangs on my iPhone and then waits Error 3004 Please I need help please!
Resolve communication issues
Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200.
These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
I would guess your iphone has been hacked ( jailbroken ) ring any bells ? -
I recently had my Mac software reinstalled but Adobe Photoshop will not reinstall siting error 213.5. Need help.
Hi Nicintime101,
Please go through the forum link below and check.
https://forums.adobe.com/thread/1256895?tstart=0
Regards,
Anand -
I instaled my desktop Adobe Digital Edition, but I'm failing in activate it with my Adobe Id. The error code is: E_AUTH_NOT_READY
Please, need help!For this problem, you need to deauthorize and authorize ADE again.
Launch ADE
Help -> Erase authorization.
ADE will be deauhorized.
Now again AUTHORIZE ADE
Help-> authorize computer.
Error will be fixed !! -
Error encountered in DocumentInstance, need help
Post Author: usaitconsultant
CA Forum: JAVA
Hi Ted or to anyone encountered this, I Need help! Im trying to open a deski document to pass parameter and set report format then schedue to run. In this line: DocumentInstance documentInstance = reportEngine.openDocument(infoObject.getID()); Im encountering this error message:Entering getRASConnection()ExceptionError Message: No server was available to process the request. Please try again later. (Error: RFC 00101) Any idea? Though, RAS server is running. I hope you can help me on this.Thank you.Post Author: usaitconsultant
CA Forum: JAVA
Hi Ted,I tried to switch to other BO XI server which infoView is working with pass parameter using my user ID. But when I tried to run my application. The same error I encountered. Though, the pdf was created but with no parameters so no records was displayed in the pdf except for header,footer, and other static data. See error below, Im just wondering which server/configuration should I checked if down/disable? Please advise. "Unable to find servers in CMS <Server path> and cluster @<Server path>
with kind dpscacheFullClient and extra criteria null. All such servers
could be down or disabled by the administrator. [RASLIB9006]"Please advise, I hope you can help me again here. Thank you. Stacktrace:documentInstance = reportEngine.openDocument(infoObject.getID())Entering getRASConnection()com.businessobjects.rebean.wi.ServerException: No server was available to process the request. Please try again later. (Error: RFC 00101) at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:972) at com.businessobjects.rebean.fc.internal.ras21.RAS21ReportEngineComAdapter.openDocument(RAS21ReportEngineComAdapter.java:87) at com.businessobjects.rebean.fc.internal.ReportEngineImpl.openDocument(ReportEngineImpl.java:249) at edu.uillinois.boxir2.BOXIR2ReportEngine.testRunReportWithParameters(BOXIR2ReportEngine.java:718) at edu.uillinois.boxir2.BOXIR2ReportEngine.main(BOXIR2ReportEngine.java:72)Exception encountered during setting parameter values. @Wed Apr 30 14:47:21 CDT 2008Error Message: No server was available to process the request. Please try again later. (Error: RFC 00101)Caused by: ErrorFailureUnable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator. [RASLIB9006] at com.crystaldecisions.sdk.occa.ras21.RASConnection.a(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnection.<init>(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.ras21.RASConnectionFactory.getRASConnectionObjectId(Unknown Source) at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.newSession(XMLviaRAS21Encode.java:958) ... 4 moreCaused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <Server path> and cluster @<Server path> with kind dpscacheFullClient and extra criteria null. All such servers could be down or disabled by the administrator. at com.crystaldecisions.enterprise.ocaframework.aa.int(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source) ... 9 more -
ITunes Error Message. Still need help. Please.
I still haven't been able to use my ITunes for about two months. I need help to fix the problem. Here's what it says when I try to start ITunes:
Microsoft Visual C+ + runtime library
Runtime Error!
Program: C:\program files\itunes\itunes.exe
This application has requested to terminate in an unusual way. Please contact the application’s support team for more information.
If anyone can help me with this I would greatly, greatly appreciate it. Thanks.
Windows XPHave you tried un-installing iTunes, downloading the program again from Apple, and re-installing?
It's always worth a try, as it should help you clear off anything causing the problem and start again. -
It says my ipod 4th gen could not be restored an unknown error occurred OxE8000001. Need help
could not be restored an unknown error occurred OxE8000001. Need help
Try here:
iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting -
Error restoring row currency - Need Help
Hi All,
Can anyone explain me how can I control the row currency???????
this is my situation:
when I navigate from page1 (with one read-only table - tableEmployees) to page2 (with a read-only table - tableSelectEmployees, with this columns: ps, eps, obs, obs2, where ps, eps and obs are the primary keys), selecting the "create" button, I need to insert a new row in tableSelectEmployees (page2) with this values (ps=2, eps=2, obs=null, obs2=null). -----> Until here everything works Fine :)
The Big problem is when I need to navigate from page2 to page3 (with a read-only table - tableAddEmployees with this columns: DOM_ID, id, meaning, where Id is the primary key). The tableAddEmployees has a Query like this:
SELECT *
FROM tableAddEmployees
WHERE NVL(tableAddEmployees.DOM_ID,0) = NVL(:1, 0)
AND tableAddEmployees.ID NOT IN (
SELECT obs
FROM tableSelectEmployees
WHERE Ps= :2
AND Eps = :3
AND NVL(obs, 0) = NVL(:4, 0))
When I select the new row created (Ps=2, Eps=2, null, null) in page 2 and go to page3 I get this error messages from the log window:
12:17:20 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
12:17:20 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
12:17:20 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
12:17:20 DEBUG (JhsActionServlet) -Parameter searchText:
12:17:20 DEBUG (JhsActionServlet) -Parameter event_Rollback:
12:17:20 DEBUG (JhsActionServlet) -Parameter event:
12:17:20 DEBUG (JhsActionServlet) -Parameter partial:
12:17:20 DEBUG (JhsActionServlet) -Parameter source:
12:17:20 DEBUG (JhsActionServlet) -Parameter eventValue:
12:17:20 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
12:17:20 DEBUG (JhsActionServlet) -Parameter partialTargets:
12:17:20 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
12:17:20 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245440919
12:17:20 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
12:17:20 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=
12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=
12:17:20 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
12:17:20 DEBUG (JhsDataAction) -executing onRollback
12:17:20 DEBUG (JhsDataAction) -executing Rollback ActionBinding
12:17:21 DEBUG (JhsDataAction) -Restoring row currencies
12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosAssoc1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosAssoc1Iterator.
12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
12:17:21 ERROR (JhsDataAction) -Error restoring row currency for S2ObstaculosLevel1Iterator: JBO-25020: View row of key oracle.jbo.Key[2 2 null ] not found in S2ObstaculosLevel1Iterator.
12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value= ,new value=278263
12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value= ,new value=278263
12:17:21 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
12:17:21 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
12:17:21 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
--->If I want this null values why is JDeveloper changing the row currency?
When I select one row from page2 with values like this (2, 2, 278264, null) I get the correct response:
12:19:41 DEBUG (JhsActionServlet) -Request class: com.evermind.server.http.EvermindHttpServletRequest
12:19:41 DEBUG (JhsActionServlet) -Request URI: /App_S2-ViewController-context-root/S2PopUpObstaculos.do
12:19:41 DEBUG (JhsActionServlet) -Request Character Encoding: windows-1252
12:19:41 DEBUG (JhsActionServlet) -Parameter searchText:
12:19:41 DEBUG (JhsActionServlet) -Parameter event_Rollback:
12:19:41 DEBUG (JhsActionServlet) -Parameter event:
12:19:41 DEBUG (JhsActionServlet) -Parameter partial:
12:19:41 DEBUG (JhsActionServlet) -Parameter source:
12:19:41 DEBUG (JhsActionServlet) -Parameter eventValue:
12:19:41 DEBUG (JhsActionServlet) -Parameter rowKeyStr:
12:19:41 DEBUG (JhsActionServlet) -Parameter partialTargets:
12:19:41 DEBUG (JhsDataAction) -Executing action /S2PopUpObstaculos
12:19:41 DEBUG (JhsDataAction) -lastIssuedPageTimeStamp set to: 1156245581741
12:19:41 DEBUG (JhsDataAction) -Found existing searchBean for S2AltaSociais2UIModel
12:19:41 DEBUG (JhsDataAction) -Stored searchBean for S2AltaSociais2UIModel on request
12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 0 has changed: old value=0 ,new value=278264
12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 1 has changed: old value=0 ,new value=2
12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 2 has changed: old value=0 ,new value=2
12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: value of bind param 3 has changed: old value=0 ,new value=278264
12:19:41 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: executing query, bind parameter values have changed
12:19:41 DEBUG (JhsDataAction) -executing onRollback
12:19:41 DEBUG (JhsDataAction) -executing Rollback ActionBinding
12:19:41 DEBUG (JhsDataAction) -Restoring row currencies
12:19:42 DEBUG (JhsDataAction) -ViewObject S2DominiosLevel1: bind parameter values have not changed
12:19:42 DEBUG (JhsDataAction) -Storing table binding factory under key jhsTableBindings on request
12:19:42 DEBUG (JhsDataAction) -Forward set by parameter property returned: /WEB-INF/page/S2PopUpObstaculos.uix
Can anyone help me with this problem, please?
What can I do to solve this currency problem?
Please, I really need help on this!!!
I'm using JDeveloper10.1.2, struts, uix pages.
Thanks,
AtenaCan anyone give some help here?
-
New to code, need help please!!!
I have been designing my first website by following a string of videos I have purchased online. (Timothy Training w/ Framework Files) I am finally to the point that I am ready to 'put' these file on my business catalyst account and get them online. I have run into an issue however. I have a page called services.html and within it I have built a 'featured content slider' that links to several pages. The code was working perfectly in any browser that I previewed it in, live view, inspections, everything was fine!! Until, I 'put' the files onto my business catalyst account, now all of the sudden the code does not display correctly anymore. I have made no changes to the code what-so-ever, no changes to the style sheets, nothing. I had a tech support guy that took a 'quick look' and said that my outer div was all of the sudden in the wrong place. I dont understand how 1. it shifted when I made no changes, 2. It works perfectly fine when I view it outside of BC platform and 3. how to even begin to fix the issue. I have spent hours upon hours trying to remedy this myself and I am finally at a breaking point and quite desperate for help. I have so many hours into this site and I am quite frustrated that I made it this far only for it to fail. Please anyone that is willing to take a look I would be grateful. I am not sure if I should post the code in here or not as this is my first post in the forum. I guess I will try to copy and paste and see if that works. Any suggestions would be great help.. Thank you so much!
I will copy and paste the code in this order: (I think this is all the code needed to figure it out,I hope...)
services.html
featureList.js
featured.css
styles.css
services.html
<!DOCTYPE HTML>
<html><!-- InstanceBegin template="/templates/ts_fullwidth.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<link href="css/styles.css" rel="stylesheet" type"text/css" media="screen">
<link href="css/print.css" rel="stylesheet" type"text/css" media="screen">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="cache" />
<meta name= "robots" content="INDEX,FOLLOW" />
<meta name= "keywords" content="Enter Keywords" />
<meta name= "description" content="Description Here" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Web Site by Tahoe POS Systems LLC - www.tahoesystems.com</title>
<script type="text/javascript" src="js/featureList.js"></script>
<link rel="stylesheet" href="css/featured.css" />
<script language="javascript">
$(document).ready(function() {
$.featureList(
$("#tabs li a"),
$("#output li"), {
start_item : 1
</script>
<!-- InstanceEndEditable -->
<!-- Google Analytics Code Goes Below Here -->
<!-- End Google Analytics Code -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body>
<div id="outer">
<div id="wrapper">
<div id="logo">
<img src="images/logos/logo2.png" />
</div>
<div id="social-media-icons">
<ul>
<li><a href="http://www.facebook.com/tahoesystems"><img src="images/icons/facebook_32.png" /></a></li>
<li><a href="#"><img src="images/icons/rss_32.png" /></a></li>
<li><a href="http://www.twitter.com"><img src="images/icons/twitter_32.png" /></a></li>
<li><a href="http://www.youtube.com"><img src="images/icons/youtube_32.png" /></a></li>
</ul>
</div>
<div id="topnav">
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT US</a></li>
<li><a href="clients.html">CLIENTS</a></li>
<li><a href="services.html">SERVICES</a></li>
<li><a href="contact.html">CONTACT US</a></li>
</ul>
</div>
<div id="banner">
<img src="images/banner/b1.png" />
</div>
<div id="content-fullwidth"><!-- InstanceBeginEditable name="content" -->
<h1>Welcome to Tahoe Systems Web Site!</h1>
<p>Our Mission – To ensure your restaurant, bar, café, diner, or eatery operates smoothly. Streamline your workflow by providing the latest, most up-to-date technology the industry has to offer. Maximize your profits with a personalized POS system that works for you and not against you. Ease your stress with the quickest, most reliable, 24-hour technical support in the area. Train your staff in person with one-on-one classes taught by one of our certified staff.</p>
<div id="feature">
<h1>Featured Tahoe Systems Services</h1>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
<div id="feature_list">
<ul id="tabs">
<li>
<a href="javascript:;">
<img src="images/icons/ts_star_logo.png" />
<h3>Complete Menu Design</h3>
<span>Complete with our well-known Fast Bar Page </span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="images/icons/ts_star_logo.png" />
<h3>Kitchen Printing with ease</h3>
<span>Top of the line printing systems</span>
</a>
</li>
<li>
<a href="javascript:;">
<img src="images/icons/ts_star_logo.png" />
<h3>VPEN Monitor Systems</h3>
<span>HD Screens, Bump Bars, We can do it all!</span>
</a>
</li>
</ul>
<ul id="output">
<li>
<img src="images/feature_slider/menu-sample2.jpg" />
<a href="menu.html">Menu Gallery</a>
</li>
<li>
<img src="images/feature_slider/tmu220.jpg" />
<a href="print.html">Printing Gallery</a>
</li>
<li>
<img src="images/feature_slider/kds_hnet.jpg" />
<a href="vpen.html">VPEN Gallery</a>
</li>
</ul>
</div>
</div>
<p>Our Mission – To ensure your restaurant, bar, café, diner, or eatery operates smoothly. Streamline your workflow by providing the latest, most up-to-date technology the industry has to offer. Maximize your profits with a personalized POS system that works for you and not against you. Ease your stress with the quickest, most reliable, 24-hour technical support in the area. Train your staff in person with one-on-one classes taught by one of our certified staff.</p>
<!-- InstanceEndEditable --></div>
<div id="footer">
<p class="footer-text">All Rights Reserved - Tahoe Systems - 2012</p>
</div>
</div>
</div>
</body>
<!-- InstanceEnd --></html>
featureList.js
* FeatureList - simple and easy creation of an interactive "Featured Items" widget
* Examples and documentation at: http://jqueryglobe.com/article/feature_list/
* Version: 1.0.0 (01/09/2009)
* Copyright (c) 2009 jQueryGlobe
* Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License
* Requires: jQuery v1.3+
;(function($) {
$.fn.featureList = function(options) {
var tabs = $(this);
var output = $(options.output);
new jQuery.featureList(tabs, output, options);
return this;
$.featureList = function(tabs, output, options) {
function slide(nr) {
if (typeof nr == "undefined") {
nr = visible_item + 1;
nr = nr >= total_items ? 0 : nr;
tabs.removeClass('current').filter(":eq(" + nr + ")").addClass('current');
output.stop(true, true).filter(":visible").fadeOut();
output.filter(":eq(" + nr + ")").fadeIn(function() {
visible_item = nr;
var options = options || {};
var total_items = tabs.length;
var visible_item = options.start_item || 0;
options.pause_on_hover = options.pause_on_hover || true;
options.transition_interval = options.transition_interval || 5000;
output.hide().eq( visible_item ).show();
tabs.eq( visible_item ).addClass('current');
tabs.click(function() {
if ($(this).hasClass('current')) {
return false;
slide( tabs.index( this) );
if (options.transition_interval > 0) {
var timer = setInterval(function () {
slide();
}, options.transition_interval);
if (options.pause_on_hover) {
tabs.mouseenter(function() {
clearInterval( timer );
}).mouseleave(function() {
clearInterval( timer );
timer = setInterval(function () {
slide();
}, options.transition_interval);
})(jQuery);
featured.css
#feature
font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
font-size: 14px;
line-height: 1.6;
width: 750px; /* This is the width */
margin: 25px auto; /* margin top/bottom and centering */
padding: 20px; /* Padding inside */
background: #FFF;
/* Background color */
border: 1px solid #CCC; /* border around */
#feature h1 { margin: 0; }
#feature p
{ margin: 0; padding: 7px 0; }
.clear
{ clear: both; line-height: 1px; font-size: 1px; }
#feature a
{ outline-color: #888;
#feature h3 { margin: 0;
padding: 7px 0 0 0;
font-size: 16px; text-transform: uppercase;
ul#tabs li a h3
{ color:#F60; margin-bottom: 5px; ; }
div#feature_list
width: 750px; height: 240px;
overflow: hidden; position: relative;
div#feature_list ul {
position: absolute;
top: 0;
list-style: none;
padding: 0;
margin: 0;
ul#tabs {
left: 0;
z-index: 2;
width: 320px;
ul#tabs li { font-size: 12px; font-family: Arial; }
ul#tabs li img {
padding: 5px; border: none; margin: 0px 10px 0 0;
float: left;
ul#tabs li a
color: #222;
text-decoration: none;
display: block;
padding: 10px;
height: 60px;
outline: none;
ul#tabs li a:hover { color:#822B00; }
ul#tabs li a.current {
background:url(../images/feature-tab-current.png);
color: #FFF;
ul#tabs li a.current:hover {
text-decoration: none;
cursor: default;
ul#output {
right: 0;
width: 460px; height: 240px;
position: relative;
ul#output li {
position: absolute;
width: 460px; height: 240px;
ul#output li a {
position: absolute;
bottom: 10px; right: 10px;
padding: 8px 12px;
text-decoration: none;
font-size: 11px;
color: #FFF;
background: #000;
-moz-border-radius: 5px;
ul#output li a:hover { background:#B33A00; }
and finally styles.css
/* CSS Document */
/* Color Legend */
/* Reset */
html, body { margin; 0; padding: 0; border: 0; background: transparent; font-size:10px; }
div, span, article, aside, footer, header, hgroup, nav, section,
h1, h2, h3, h4, h5, h6, p, blockquote, a, ol, ul, li,
table, tr, th, td, tbody, tfoot, thead {
margin: 0;
padding: 0;
border: 0;
verticle-align: baseline;
background: transparent; }
img {margin: 0; padding: 0; border: 0; }
table, tr, th, td, tbody, tfoot, thead {
margin: 0; padding: 0; border: 0;
verticle-align: baseline;
background: transparent; }
table {border-collapse: collapse; border-spacing: 0; }
input, select, textarea, form, fieldset {
margin: 0; padding: 0; border: 0; }
article, aside, dialog, figure, footer, header, hgroup, nav, section {
display:block; }
h1, h2, h3, h4, h5, h6, p, li, blockqutoe, td, th, a, caption, em, strong, strike {
font-family: Arial, Helvetica, sans-serif;
font-size:100%;
font-weight: normal;
font-style: normal;
line-height: 100%;
text-indent: 0;
text-decoration: none;
text-align: left;
color: #000; }
ol, ul, { list-style: none; }
/* Global */
html { }
body { background-color:#E8DDCA;
background-image:url(../images/background/roiBody_11.png);
background-repeat:no-repeat;
background-attachment:fixed; }
/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1 { font-size:24px; color: #C60 ;
padding-bottom: 15px; border-bottom: 1px #ccc solid; margin-bottom: 15px; }
h2 { font-size: 20px; }
h3 {font-size: 16px; margin-bottom: 5px; }
h4 {font-size: 14px; }
h5 {font-size: 14px; }
h6 {font-size: 14px; }
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img, {margin: 0; }
/* Text Elements */
p { color:#000; font-size: 12px; line-height: 150%;
margin: 15px 0px; }
p. left {margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p. right {margin: 1.5em 0 1.5em 1.5em; padding: 0; }
a { }
a:link {color: #00f; }
a:visited {color: #0f0; }
a:active {color: #000; }
a:focus {color: #666; }
a:hover {color: #f00; }
blockquote {color: #000; font-size: 12px; }
strong { font-weight: bold; }
em {font-style: italic; }
/* Images */
.image-frame { padding: 10px; border: 1px #ccc solid; margin: 10px; }
/* Lists */
ul { }
ol { list-style-type:decimal; }
ul li {color: #000; font-size: 12px; }
ol li {color: #000; font-size: 12px; }
dl { }
dt { }
dd { }
/* Tables */
table { width: 100%; }
tr { }
.odd { background-color: #eee; }
.even { background-color: #fff; }
th { font-weight:bold; }
thead, th { background: #ccc; }
tbody { }
th,td,caption { }
caption { }
tfoot { }
.tfooter { background-color:#ccc; text-align: center; font-style: italic;
caption { background-color: #efefef;
/* Miscelaneous */
sup, sub {line-height: 0; }
abbr, acronym { border-bottom: dotted #666; }
address { }
del {background: #ffcece; color: #f00; }
code, pre { background-color:#ff9; padding: 2px 0px; margin: 4px 25px;
font-family: "Courier New", Courier, monospace; font-size: 12px; font-weight:bold
/* Containers */
#outer { width:960px; margin:0 auto; background-color:#FFF; }
#wrapper { width:900px; margin:0 auto; background-color:#FFF; }
#logo { margin:30px 0; float: left; }
#social-media-icons { float:right; }
#social-media-icons ul li { display: inline; }
#social-media-icons ul { margin-top: 40px; }
#topnav { clear: both; }
#topnav ul { border-top: 1px #000 solid; border-bottom: 1px #000 solid;
margin: 20px 0; padding: 10px 0; }
#topnav ul li { display: inline }
#topnav ul li a { padding: 0 15px; }
#topnav a:link {color: #000; }
#topnav a:visited {color: #000; }
#topnav a:active {color: #000; }
#topnav a:focus {color: #666; }
#topnav a:hover {color: #F90; }
#banner { margin-bottom: 30px; }
#slider { margin-bottom: 30px; }
#content { width: 650px; float: left; }
#content-fullwidth { width: 100%; }
#rightside { width: 200px; float: right; }
#footer { clear: both; margin-top: 20px 0; border-top: 1px #ccc solid; padding-bottom: 20px; }
#box1 { width: 250px; float: left; margin: 25px;
border-top: 15px #666 solid; background-color:#EEE; }
#box2 { width: 250px; float: left; margin: 25px;
border-top: 15px #3E5838 solid; background-color:#EEE; }
#box3 { width: 250px; float: left; margin: 25px;
border-top: 15px #386165 solid; background-color:#EEE; }
#box1 h3, #box2 h3, #box3 h3 { margin: 20px 10px 10px 10px; }
#box1 p, #box2 p, #box3 p { margin: 5px 10px 10px 10px; }
#box4 { }
#box5 { }
#box6 { }
/* Layout Extra */
/* Navigation Extra */
/* Forms */
form ol { list-style-type:none; }
form { text-align:left; margin:20px; }
label {
float: left; width: 150px; margin-top:5px;
text-align:right; display:block; background:none; font-weight:bold;
submit { background:none; }
input {
width: 280px; margin:0 0 16px 10px;
border:1px #bbb solid; padding:5px; background:none;
input:focus, textarea:focus { background-color:#FF9; }
textarea {
width: 280px; height: 150px; margin:0 0 16px 10px;
border:1px #bbb solid; padding:5px; background:none;
select { margin-bottom:20px; }
.month { margin-left:155px; }
.submit {
width:90px; height:25px;
margin-left:160px;
font-size:12px;
br { clear: left; }
.clear { clear:both; }
/* Miscelaneous */
.popup-link { font-size: 12px; margin: 5px 10px; display:block; }
.date { font-weight: bold; color: #C60; margin-bottom: 3px; }
.copyright-text { font-size:80%; font-style: italic; color: #333; }
.footer-text { font-size:12px; font-style: normal; color: #000; text-align: center; }
.title { font-size:18px; font-weight: bold; color: #333; }
.subtitle { font-size:14px; font-style: italic; color: #333; }
.artist { font-size:16px; font-weight: bold; color: #333; }
.author { font-size:14px; font-weight: bold; color: #555; }
.editor { font-size:14px; font-style: italic; color: #555; }
.pub-date { font-size:10px; font-style: italic; color: #555; }
.article-date { font-size:10px; font-style: italic; color: #555; }
.location { font-size:10px; font-style: italic; color: #555; }
.float-right { float:right; }
.float-left { float:left; }
.clear { clear:both; }
.hide { display:none; }
.block { display:block; }
.inline { display:inline; }
.first { font-weight:bold; }
.last { font-weight:bold; }
.left { font-weight:bold; text-align:left; }
.right { font-weight:bold; text-align:right; }
.added { background:#D7D7FF; }
.removed { background:#FFCECE; color:#f00; }
.changed { background:#FFB; }http://tahoepossystems.businesscatalyst.com/services.html
Services page is missing quite a bit of stuff.
This code from a working page is correct:
<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
<script type="text/javascript">var jslang='EN';</script>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/needsomethinghere.js"></script>
<script type="text/javascript" src="../js/slider.js"></script>
<script type="text/javascript"> // This is the script for the banner slider
$(document).ready(function() {
$('#slider').s3Slider({
timeOut: 6000
</script>
<link href="../css/styles.css" rel="stylesheet" css" media="screen">
<link href="../css/print.css" rel="stylesheet" css" media="screen">
<link href="../css/slider.css" rel="stylesheet" type="text/css" media="screen">
In contrast, this is all you have in the <head> of your services.html page:
<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
<script type="text/javascript">var jslang='EN';</script>
<script type="text/javascript" src="../js/jquery.js"></script>
<link href="../css/styles.css" rel="stylesheet" type="text/css" media="screen">
<link href="../css/print.css" rel="stylesheet" type="text/css" media="screen">
If you reconcile those difference in your code, it should work.
Nancy O. -
I have created a try-catch statement, I have also created a home made Invalid value exception class. I have also thrown the InvalidValueException in a calculate method in a seperate class. I am getting the error of unreachable catch block. Here is my code for this process. Please Help
private void runPayroll(List employees)
Collections.sort(employees, new PersonComparator());
// place the following code in a try-catch statement to check for the following errors
//- InvalidValue (the pay units must be a decimal number > 0)
try
double payRate = jtfPayRate.getText();
catch (InvalidValueException ivEx)//THIS IS WHERE I AM GETTING MY ERROR
JOptionPane.showMessageDialog(this, "the pay units must be a decimal number > 0", "Error Message", JOptionPane.ERROR_MESSAGE);
return;
// loop through all of the employees in the collection
Iterator iterator = employees.iterator();
StringBuffer output = new StringBuffer("");
while (iterator.hasNext())
Employee employee = (Employee)iterator.next();
output.append( employee.toString() + "\n" );
//InvalidValueException class
public class InvalidValueException extends Exception
public InvalidValueException(double payUnit)
//super(payUnit);
public String getLocalizedMessage()
return "Amount must be > 0";
//PayCheck class this is where I throw the exception
public abstract double calculate(double payUnit, double payRate)
throws InvalidValueException;That catch block is never reached because
double payRate = jtfPayRate.getText();will never throw an InvalidValueException (it doesn't even know about it). I assume jtfPayRate is a textfield? If so, I am suprised the compiler doesn't give you an incompatible types error first, since you are trying to put a string into a double value with the above statement.
I think what you are trying to do is this:
try {
double payRate = Double.parseDouble(jtfPayRate.getText());
catch(NumberFormatException ex) {
throw new InvalidValueException(...);
}You may want to pass an error message string to your self made exception, by the way, and call super(message) in the constructor of it. -
Error in code, need help
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class CropProfit2 extends JApplet implements ActionListener
private JTextField n1Text = new JTextField();
private JTextField n2Text = new JTextField();
private JTextField n3Text = new JTextField();
private JTextField n4Text = new JTextField();
private JTextField ansText = new JTextField();
//Create text fields
private JLabel Instructions = new JLabel("Enter number of acres for desired for each crop then press cost or reveune");
private JLabel n1Label = new JLabel("Enter acres of soybeans here");
private JLabel n2Label = new JLabel("Enter acres of corn here");
private JLabel n3Label = new JLabel("Enter acres of potatos here");
private JLabel n4Label = new JLabel("Enter acres of wheat here");
private JLabel answerLabel = new JLabel("Total cost or revenue");
//Create direction labels
private JButton costButton = new JButton("cost");
private JButton revenueButton = new JButton("revenue");
private JButton profitButton = new JButton("profit");
double sum;
double n1;
double n2;
double n3;
double n4;
//Create buttons and declare double variables
public void init()
ansText.setEditable(false);
JPanel content = new JPanel(new GridLayout(5,2,1,1));
//content.add(Instructions);
content.add(n1Label);
content.add(n1Text);
content.add(n2Label);
content.add(n2Text);
content.add(n3Label);
content.add(n3Text);
content.add(n4Label);
content.add(n4Text);
content.add(answerLabel);
content.add(ansText);
//Add labels and input boxes
JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
buttonPanel.add(costButton);
buttonPanel.add(revenueButton);
buttonPanel.add(profitButton);
//Add 3 calculation buttons
add(content, BorderLayout.NORTH);
add(buttonPanel, BorderLayout.SOUTH);
//Button panel on bottom
revenueButton.addActionListener(this);
costButton.addActionListener(this);
profitButton.addActionListener(this);
//Make buttons listen
public void actionPerformed(ActionEvent e);
if (e.getActionCommand().equals("cost"))
n1 = stringToDouble(n1Text.getText());
n2 = stringToDouble(n2Text.getText());
n3 = stringToDouble(n3Text.getText());
n4 = stringToDouble(n4Text.getText());
totalCost = (n1 * 900) + (n2 * 100) + (n3 * 750) + (n4 * 800);
//Calculate cost total
ansText.setText(Double.toString(totalCost));
//Write total to label
else if (e.getActionCommand().equals("revenue"))
n1 = stringToDouble(n1Text.getText());
n2 = stringToDouble(n2Text.getText());
n3 = stringToDouble(n2Text.getText());
n4 = stringToDouble(n2Text.getText());
totalPrice = (n1 * 1300) + (n2 * 1650) + (n3 * 1200);
//Calculate sell price total
ansText.setText(Double.toString(totalPrice));
//Write total to label
else
ansText.setText("Error");
private static double stringToDouble(String stringObject);
return Double.parseDouble(stringObject.trim());
and the errors i get is
CropProfit23.java:104: 'class' or 'interface' expected
^
CropProfit23.java:105: 'class' or 'interface' expected
^
2 errors
I really don't know how to fix it. I'm extremely new at this stuff and can't get this assignment to work for class. Any help would be greatly appreciated.Your code style is extremely poor.
This compiles and runs. Compare it to yours to see where you went wrong. - %
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class CropProfit2 extends JApplet implements ActionListener
private JTextField n1Text = new JTextField();
private JTextField n2Text = new JTextField();
private JTextField n3Text = new JTextField();
private JTextField n4Text = new JTextField();
private JTextField ansText = new JTextField();
//Create text fields
private JLabel Instructions = new JLabel("Enter number of acres for desired for each crop then press cost or reveune");
private JLabel n1Label = new JLabel("Enter acres of soybeans here");
private JLabel n2Label = new JLabel("Enter acres of corn here");
private JLabel n3Label = new JLabel("Enter acres of potatos here");
private JLabel n4Label = new JLabel("Enter acres of wheat here");
private JLabel answerLabel = new JLabel("Total cost or revenue");
//Create direction labels
private JButton costButton = new JButton("cost");
private JButton revenueButton = new JButton("revenue");
private JButton profitButton = new JButton("profit");
double sum;
double n1;
double n2;
double n3;
double n4;
//Create buttons and declare double variables
public void init()
ansText.setEditable(false);
JPanel content = new JPanel(new GridLayout(5, 2, 1, 1));
//content.add(Instructions);
content.add(n1Label);
content.add(n1Text);
content.add(n2Label);
content.add(n2Text);
content.add(n3Label);
content.add(n3Text);
content.add(n4Label);
content.add(n4Text);
content.add(answerLabel);
content.add(ansText);
//Add labels and input boxes
JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT));
buttonPanel.add(costButton);
buttonPanel.add(revenueButton);
buttonPanel.add(profitButton);
//Add 3 calculation buttons
add(content, BorderLayout.NORTH);
add(buttonPanel, BorderLayout.SOUTH);
//Button panel on bottom
revenueButton.addActionListener(this);
costButton.addActionListener(this);
profitButton.addActionListener(this);
//Make buttons listen
public void actionPerformed(ActionEvent e)
if (e.getActionCommand().equals("cost"))
n1 = stringToDouble(n1Text.getText());
n2 = stringToDouble(n2Text.getText());
n3 = stringToDouble(n3Text.getText());
n4 = stringToDouble(n4Text.getText());
double totalCost = (n1 * 900) + (n2 * 100) + (n3 * 750) + (n4 * 800);
//Calculate cost total
ansText.setText(Double.toString(totalCost));
//Write total to label
else if (e.getActionCommand().equals("revenue"))
n1 = stringToDouble(n1Text.getText());
n2 = stringToDouble(n2Text.getText());
n3 = stringToDouble(n2Text.getText());
n4 = stringToDouble(n2Text.getText());
double totalPrice = (n1 * 1300) + (n2 * 1650) + (n3 * 1200);
//Calculate sell price total
ansText.setText(Double.toString(totalPrice));
//Write total to label
else
ansText.setText("Error");
private static double stringToDouble(String stringObject)
return Double.parseDouble(stringObject.trim());
} -
Logic Pro 8 & TDM Error Codes, need help!
I am using Logic Pro 8 & TDM hardware. I am getting 2 error codes, only when I try to use the Audio Suite in the Sample Editor.
"Error code -7401 was returned by the DAE driver."
"2 times TDM error -7102 while trying to disconnect TDM."
What do these mean? I tried searching the net and found nothing useful. Otherwise Logic Pro 8 and TDM has been flawless, and all my hardware works perfectly in Pro Tools HD.
I am using a 96i I/O, and 1 Accel Core card and 2 HD Accel cards (PCIe).
Also the Audio Suite doesn't seem to process the audio as intended or at all. There 2 errors show up when I try to preview the effect, no matter what Audio Suite buffer size I use.
Thank you in advance for any info.I've been trying to get Logic to work with DAE/TDM in Leopard on a Mac Pro now for months! How did you do it?? Been searching the internet for answers ever since I started, and would highly appreciate your response.
My most obvious problems are: No audio from Aux (EXS, ESB) or instruments. The whole program is "struggling" with awful "framerates" . . just moving the pointer takes forever.
When in Core-audio everything works fine.
I have reinstalled Leopard, Pro Tools and Logic several times, with no luck.
Please tell me how you did it!
Thx in advance!!
/K -
Error in the following code.need help asap
hi i have written a block which bulk collects into a pl/sql table.
Getting an error as shown below.
PLz help asap
declare
type summary_upd_tab is table of summary%rowtype;
summary_upd_var summary_upd_tab;
begin
select
min(a.start_time_utc),
max(a.end_time_utc),
sum(duration_seconds),
sum(upload_bytes),
sum(download_bytes)
bulk collect into summary_upd_var ------GEETTING AN ERROR --TOO MANY VALUES???
from aaa_sessions a
group by user_id;
---,type_of_summary,ispeak;
end;
Edited by: user8731258 on Jul 20, 2010 10:16 PMi think the no. of columns should match(and that too in Order) else how will it know which value should go in which field of the collection ?
-
New error message...need help
I got new error message in my application. it happened to even very simple test code
like:
An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred executing a statement.
Schema: Generic Recordset (NI).
Statement: UUT_RESULT.
ODBC driver does not support the requested properties.
-2147217887; User-defined error code.
Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'Hello,
I found 2 KnowledgeBase articles that I believe will be helpful in troubleshooting this Citadel ODBC issue:
http://digital.ni.com/public.nsf/allkb/BD95183884B0F0F086256D3D0077C888?OpenDocument
http://digital.ni.com/public.nsf/allkb/486B13FA750376A386256E8E0025DECB?OpenDocument
Some other things to try:
It sounds like this has nothing to do with your code module and everything to do with TestStand communicating with the Citadel Database. Have you tried running a sequence with just one step (maybe a pop up) and turning database logging on and see if you get the same error?
With warm regards,
David D. -
Errors in Dreamweaver CS4 need help
Just yesterday I started getting the following error when trying to open Recordsets:
While executing onLoad in ServerBeh-ASPVbs-SimpRS.htm, the following JavaScript error(s) occured:
At line 271 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS4\Configuration\Commands\ServerBeh-ASPVbs-SimpRS.js: type has no properties
What I have done so far:
1. renamed Configuration folder
2. Drilled down and found the .js file in DW3 and copied it in
3. Reinstalled DW
If anyone could shed some light on why all of a sudden this is happening I would greatly appreciate it.Just yesterday I started getting the following error when trying to open Recordsets:
While executing onLoad in ServerBeh-ASPVbs-SimpRS.htm, the following JavaScript error(s) occured:
At line 271 of file "C:\Program Files\Adobe\Adobe Dreamweaver CS4\Configuration\Commands\ServerBeh-ASPVbs-SimpRS.js: type has no properties
What I have done so far:
1. renamed Configuration folder
2. Drilled down and found the .js file in DW3 and copied it in
3. Reinstalled DW
If anyone could shed some light on why all of a sudden this is happening I would greatly appreciate it.
I sounds like your Recordset code may be corrupted. Try deleting the Recordset and recreating it.
HTH,
Randy
Maybe you are looking for
-
How can I get rid of the "Not Enough Storage" pop-up on my IPad2? It won't go away, I can't cancel it, I can't access settings, and I can turn off the IPad to reboot. It is just locked up.
-
Builiding animations using FXML or the Scene Builder in javaFX
please i wanna know if its possible building user interfaces with dynamic nodes or animations using FXML or the Scenebuilder in JavaFX Elikem.
-
No sure what is the best way to describe the title. Thing is, my report is working fine (except for that index issue I have a.t.m) Now this is my issue. I've added a Sub-report onto my main report. Works great and it's linked. But the layout doesn
-
I was trying to find the"IFS Extended Attributes" and every time I click on it, I get WCP Server error " Can not connect to any WCP error, please make sure ...." I followed through some of the discussion and check the log it looks OK (See below).. wh
-
Hi Experts, Does anyone know a program/ transaction to compare two IDOC's of same Idoc type. Please help. Regards, Kiran