Need help inserting ActiveX Control
We provide an ActiveX control to talk to an instrument. We sell very few of these but nonetheless I've been asked to upgrade the LabVIEW sample (even though it only accounts for 10% of our few sales). I did make a sample a long time ago for labiew 5.1 but was going to make a new one for labview 2011 (as its too difficult to import the sample from 5.1).
For testing (and that I'm not releasing any proprietary stuff) I wrote a simple ActiveX control that contains some of the features of the instrument control. This includes going to a particular position, scanning between two positions and receiving events (data, message and status). I was very easily able to write a quick demo in VB6 and C#2010 but I've forgotten everything about labview (except I remember it was relatively complicated for a non-graphical programmer like myself to use an activex control back in the 5.1 days).
I would like to make a simple demo (like the one for C#)
On a button press it starts a collect, first taking the two values from the appropriate inputs as the range (sets the StartPos and StopPos properties) then calls BeginRun.
On another button press it "goes to" a position (calls GoToPos with a parameter from another numeric input).
Receives OnStateChanged events and displays the enumerated type in a string indicator. This event is fired when the state is changed (eg. by calling BeginRun).
Receives OnData events and displayes the position and value from the event in an indicator. This event is fired during a run for each sample.
Receives OnMessage events and displays the message string in an indicator. This event can occur any time - in this sample I'm firing it randomly about once per second and its just sending the time as a string.
Events are asynchronous - calling BeginRun returns immediately but events will follow later.
Can anyone help me build this simple example - I've forgotten all the (little) labview I did back in 2003. I've attached the ActiveX control (XTestControl.ocx) a very simple VB6 sample, a better compiled C#2010 sample and my fiddling, far-from-complete LabVIEW 2011 sample. Everything is 32-bit (although I'm running on 64-bit Win7).
There's a lot I don't understand about LabVIEW and the time I've already spent on this so far probably means several years ROI for the small company I work for because of the low volumes.
TIA
Attachments:
ActiveXTest.zip 277 KB
Thanks for your reply nathand and taking the time to look at my sample.
Yes, it is a very ligh VI because it doesn't have to do much. I want to numeric inputs that set the StartPos and StopPos properties of the ActiveX control and then call the BeginRun method (ie. 3 controls). Data is returned in the OnData event asynchronously and displayed (ie. 1 numeric display). I'me used to programming with the likes of VB and C# where events are a matter of course and you just select the event you want to code for and write the code so all this talk of "separate VIs" and "User Parameter List" is all confusing to me. The VB and C# samples I provided literally took me 15 minutes to write both and I won't tell you how embarrassingly long I spent playing with labview. From memory in (HP) VEE it was relatively easy to make a basic demo using our ActiveX control but we won't be supplying a demo for that this time (or possibly the old demo still works). This is supposed to be such a basic labview sample being provided by the vendor (our small company) as you suggested.
I downloaded the 30-day LabVIEW 2011 trial, which I was assuming had proper "event structure" but its counter-intuitive to use.
I've modified the attached control slightly (put a Run button on and a CallBack VI thingy) but I don't know how to wire up the run button to do something when clicked nor the event output to the (string) display.
Attachments:
ControlTest2.zip 15 KB
Similar Messages
-
Can I insert ActiveX controls in Web Dynpro Java?
We want to insert ActiveX controls in Web Dynpro 7.3.
Is it possible?Using the WebWidget UI element you can insert any HTML and JavaScript code but this does not guarantee that your special ActiveX control will work correctly.
-
No longer able to insert ActiveX controls or use existing ActiveX controls in Word documents
Using Word 2010 32bit on Windows 7.1 64bit OS.
I have a document with several ActiveX controls that I use as a template to generate new documents. This morning I installed the monthly roll-out of Windows/MS Office updates and then rebooted. After rebooting, when I opened my Word document,
I could not use the controls.
As far as I can tell, the controls are not disabled in security but are actually not recognized. If I go into Developer Mode and open the Properties from the context menu on one of the ActiveX controls, the Properties dialog opens but shows properties
for the main document and not for the control. If I try to drop a new ActiveX control in a blank document, I get the following message from Microsoft Word: "The program used to create this object is Forms. That program is either not installed
on your computer or it is not responding. To edit this object, install Forms or ensure that any dialog boxes in Forms are closed." I have not been able to find any information on a program called "Forms". Is this some component
of Word that has been corrupted?
I don't think there is any problem with the actual document because I can still open and use it on another machine running Word 2010 (where the latest updates have not been installed).Among the monthly updates for March 2015 is a series of updates that should correct the problem. Use Windows Update to get them.
The relevant updates are:
Word 2007: http://support.microsoft.com/KB/2956109
Excel 2007: http://support.microsoft.com/KB/2956103
PowerPoint 2007: http://support.microsoft.com/KB/2899580
Word 2010: http://support.microsoft.com/KB/2956139
Excel 2010: http://support.microsoft.com/KB/2956142
PowerPoint 2010: http://support.microsoft.com/KB/2920812
Office 2013: http://support.microsoft.com/kb/2920754
Word 2013: http://support.microsoft.com/KB/2956163
PowerPoint 2013: http://support.microsoft.com/kb/2965206
Regards, Hans Vogelaar (http://www.eileenslounge.com) -
I have got an evaluation version of LabVIEW 5.0 and I need to get an
ActiveX component to work with it but don't know how to set it up
properly.
I have added and ActiveX container and put my control in it but don't
know how to access the methods and properties therin. I downloaded an
example - Container Example (Airbag Impact Testing) - from the National
Instruments LabView pages and that works. I can see Invoke Nodes and
Property Nodes and when I right-click on them I can select a different
Method. However I can't get one of these node things on the form for any
ActiveX components (mine or the existing ones in this demo). When I
right click on the component I have a pop-up that includes create but
only allows me to create an Attri
bute Node or a Local Value.
What do I have to do here? I am pulling my hair out.
PS. I was able to install the ActiveX component in Visual Basic 5 and HP
VEE 5 easily - just not in LabVIEW.
PPS. Also the control uses events to return data so I would have to end
up using 5.1 but there doesn't seem to be demos available for that.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.> I have added and ActiveX container and put my control in it but don't
> know how to access the methods and properties therin. I downloaded an
> example - Container Example (Airbag Impact Testing) - from the National
> Instruments LabView pages and that works. I can see Invoke Nodes and
> Property Nodes and when I right-click on them I can select a different
> Method. However I can't get one of these node things on the form for any
> ActiveX components (mine or the existing ones in this demo). When I
> right click on the component I have a pop-up that includes create but
> only allows me to create an Attribute Node or a Local Value.
>
> What do I have to do here? I am pulling my hair out.
>
I don't know if you have looked in the help yet, but you need
to go to the A
ctiveX palette. Either show the function palette
or right click in open space to get a function palette, then
go to the communications palette and under that ActiveX. That
is where you will find the Property and Invoke Nodes.
In the future LV will have a Create ... Node for ActiveX, but
for now, you drop it from the palette.
Greg McKaskle -
I want to list all of the connectors on a board on a vi front panel (e.g. J1, J2, etc...). If the user clicks on e.g. J1, all of the pins on J1 will be displayed, like when using a treeview. The user will then be able to select multiple pins from J1 (e.g. he/she clicks on J1-1 and J1-3). Whatever pins are selected I will set high. I thought I'd be able to put multiple treeviews on my vi, one for each connector, but it seems that with a treeview no more than one selection can be made. Basically I need a control that is expandable and multiple selections can be made. Is there a control that does this?
Thanks and regardsCould you please draw us a picture (text is fine) of approximately what you are looking for.
It sounds to me, if I read your question correctly, that a text indicator will do the trick.
For example:
Before:
J1
J2
J3
J4
After J2 selected:
J1
J2
Pin 1 -
Pin 2 -
Pin 3 -
Pin 4 -
etc...
J3
J4
This can be done with a bit of work using a simple string indicator, a table, a list, etc.
For a string indicator, you would detect the selection by either polling the selection and an "Okay" button, or using a mouse up event on the control then checking the property corresponding with selection.
List indicators may be easier to work with programmatically, but I don't know if they are any cleaner looking. I suspect they are
probably the same. I can whip up a simple example if you wish...
I hope this helps
-Mike Du'Lyea
Advanced Test Engineering
http://advancedtestengineering.com -
I'm new to flash and need help with some controls
I'm builidng a site that has a portfiolio of work to display.
When the visitor arrives at the portfolio page he (or she) is
faced with a split panel. The right panel displays a summary of a
client and the work. The left panel displays the work examples
attributed to that client. By clicking forward and backward arrows
in the right panel, the visitor can call the summaries of the
different clients. Landing on a client page 'opens' a separate swf,
called using loader component, that contains the portfolio of that
client's work into the left panel
1. I want forward and backward arrows located on the main
movie in the left panel to control the progress of the loaded swf,
rather than using forward and backward arrows on the loaded swf.
2. I want to prevent the forward and backward arrows in both
panels from clicking beyond frames in the Portfolio area of the
timeline.
3. I want the backward arrow to be innactive on the first
frame, and the forward arrow to be innactive on the last frame.
I have no problems making the arrows work on the main movie
controlling the client summaries. What I don't know how to do is
make them control the movement of the loaded swf, or #2 and #3.
Any help will be greatefully appreciated. Thanks in advance,
Art"Art Lazaar" <[email protected]> wrote in
message news:[email protected]...
> Tralfaz,
>
> Thanks for your response. I must be missing something
very simple here, but I
> can't make this work no matter what I do. Let me see if
I understand some of it:
>
> On my main movie I put the fwd_btn and rew_butn
codes...do I put these on the
> actual buttons, or in an actions time line? When I put
them on the buttons, I
> get an error report saying they need to be in an 'on'
event handler. I thought
> that's what 'onRelease' was.
>
> On my loaded movie, I place the 'one.swf' code. I'm not
sure what you mean by
> placing the code inside a loop, I don't seem to be able
to find a reference to
> using 'loop' anywhere. When I use an 'onEnterFrame', I
presume I do that with
> onEventClip(enterFrame). When I do that, if I run the
'one.swf' by itself, i
> get an error report saying onEeventClip is for movies
only. But there's no
> error report when it loads from the main movie. What
happens tho' is it loops
> continuously, even if there are stops() in it.
>
> Boy, am I confused ;)
>
> I am really baffled by this seemingly simple little
task. Your help is
> gratefully appreciated.
>
> Art
>
>
>
Hi Art,
There are different coding methods, depending on where you
put code..
1) Frame code
Click on a frame of the timeline to enter frame code
2) Attached code for movieclips and buttons
Click once on a movieclip or a button then enter attached
code
To make an onEnterFrame event for a movieclip, first chose
either frame code or attached code method. I personally rarely ever
use
attached code because it hides code in places that can be
hard to find. Almost all my coding is frame code, but it's a
personal
choice.
Frame code method to make an onEnterFrame for the main
timeline..
// put this code into a frame on the main timeline
this.onEnterFrame = function()
// do something once per frame at the frame rate
checkMyButtons(); // once per frame we will check on the
button status
OR
Attached Code method to attach an onEnterFrame event to a
movieclip
// click once on the movieclip (don't dbl click it .. stay at
the root timeline level)
onClipEvent(enterFrame)
// do something once per frame at the frame rate
Those two types of code are not interchangeable. One type
must be entered into a frame and the other style must be attached
to a
movieclip or you will get errors.
Then there is the DOT syntax way to write frame code that is
equivalent to attaching code..
myMovieClip.onRelease = function()
trace("release");
myMovieClip.onPress = function()
trace("press");
myMovieClip.onDragOut = function()
trace("drag out");
tralfaz -
Need help inserting recursively
I am writing a binary search tree, the tree nodes are basically string objects encapsulated by the TreeNode class. I have trouble writng the insert(Comparable item) which insert item to my BST. I have:
public void insert ( Comparable item ) throws BST_Exception{
if(root == null)
root = new TreeNode(item);
else
try{
insertItem(root, item);
}catch(BST_Exception e){
//Ignore
duplicates
}And a helper method:
private TreeNode insertItem (TreeNode t, Comparable item)
throws BST_Exception{
System.out.println("t = " + t + " item = " + item);
//System.out.println("result = " + result);
if(t == null){
t = new TreeNode(item);
System.out.println("New Node: " + t);
}else if(t.compareTo(new TreeNode(item)) < 0){
t.setLeft(insertItem(t.getLeft(), item));
}else if(t.compareTo(new TreeNode(item)) > 0){
t.setRight(insertItem(t.getRight(), item));
}else{
throw new BST_Exception("Duplicate nodes! " + item);
return t;
}in this case item is of type String and TreeNode implements the Comparable interface just compare two string values.
I wrote a driver program executing the insertion methods above. But it didn't work out the way i want it to be:
t = 16 item = 13
t = null item = 13
New Node: 13
t = 16 item = 2
t = null item = 2
New Node: 2
t = 16 item = 11
t = 13 item = 11
t = null item = 11 //t should be 2
New Node: 11
t = 16 item = 15
t = 13 item = 15
t = null item = 15 //
New Node: 15
t = 16 item = 6
t = 2 item = 6
t = null item = 6 //
New Node: 6
t = 16 item = 10
t = 13 item = 10
t = 11 item = 10
t = null item = 10 //
New Node: 10
t = 16 item = 16
My input file is:
16
13
2
11
15
6
10
16
Any idea what i am doing wrong in insertItem()? Thanks!Hello,
Try the following code and you will see that the result will be -1, which means that in Java 16 is "less" than 2.
public class TestString
public static void main(String[] args)
System.out.println("16".compareTo("2"));
}You need to compare your Strings as integers whenever you have integers.
Hope this helps -
Need help regarding tree control
hello guys,
i m working on one Flex slideshow application and i m using Xml loaded tree control with swf loader for this. i want to create next previus button for nevigate this slideshow but i dont know much about action script... please help me
i will provide u code of my script if you need to correct it or suggest me how to make it.
thanks in advance
sagarhere is sourcecode of my file
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" showCloseButton="true" close="PopUpManager.removePopUp(this);" width="1366" height="768" title="Promotions" fontFamily="Verdana" fontSize="13">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
private function processLogin():void {
// Check credentials (not shown) then remove pop up.
PopUpManager.removePopUp(this);
import mx.effects.easing.*;
//index button script
private function toggleBtn(e:MouseEvent):void{
if(e.currentTarget.label== 'Open')
panelOut.play();
else
panelIn.play();
import mx.collections.ICollectionView;
import mx.events.ListEvent;
// tree control script
private function tree_itemClick(evt:ListEvent):void {
var t:Tree = evt.currentTarget as Tree;
var dataObj:Object = evt.itemRenderer.data;
var item:Object = Tree(evt.currentTarget).selectedItem;
if (dataObj.hasOwnProperty("@src")) {
swfLoader.source = dataObj.@src;
} else if (t.dataDescriptor.isBranch(t.selectedItem)) {
swfLoader.source = null;
tree.expandItem(item, !tree.isItemOpen(item), true);
panel1.status = "";
private function tree_labelFunc(item:Object):String {
var children:ICollectionView;
var suffix:String = "";
if (tree.dataDescriptor.isBranch(item)) {
children = tree.dataDescriptor.getChildren(item);
suffix = " (" + item.children().length() + ")";
return item.@label + suffix;
private function swfLoader_complete(evt:Event):void {
panel1.status = (swfLoader.bytesTotal/1024).toFixed(2) + 'KB';
private function init():void
systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN;
]]>
</mx:Script>
<mx:XML id="dp" source="data/dp.xml" />
<mx:Canvas x="30" y="-1" width="1315" height="725">
<mx:Panel id="panel1"
width="1310"
height="712"
backgroundColor="white"
borderThickness="0"
borderThicknessBottom="0"
borderThicknessLeft="0"
borderThicknessRight="0"
borderStyle="none" cornerRadius="0"
headerHeight="0" left="2" y="3">
<mx:SWFLoader id="swfLoader"
scaleContent="true"
complete="swfLoader_complete(event);" />
<mx:ControlBar>
</mx:ControlBar>
</mx:Panel>
</mx:Canvas>
<mx:Move id="panelOut" target="{panel}" xTo="0" effectEnd="btn.label='Close'"
duration="500"/>
<mx:Move id="panelIn" target="{panel}" xTo="-283" effectEnd="btn.label='Open'"
duration="500"/>
<mx:Canvas id="panel" width="314" height="725" x="-283" backgroundColor="#00A2FF" verticalCenter="-1">
<mx:Grid x="10" y="10" width="299">
<mx:GridRow width="100%" height="707">
<mx:GridItem width="100%" height="100%">
<mx:Tree id="tree"
dataProvider="{dp}"
labelFunction="tree_labelFunc"
showRoot="false"
width="269"
height="706"
itemClick="tree_itemClick(event);" alpha="0.85" backgroundColor="#C0E1FF"/>
</mx:GridItem>
<mx:GridItem width="22" height="100%" verticalAlign="middle">
<mx:LinkButton label="" id="btn" width="22" height="707"
click="toggleBtn(event)" icon="@Embed(source='assets/index.png')" enabled="true"/>
</mx:GridItem>
</mx:GridRow>
</mx:Grid>
<!--Add the content of your sliding panel here -->
</mx:Canvas>
</mx:TitleWindow> -
Need help with Referer Control 0.4.3 add-on
Hello,
I can't seem to make this add-on work as I expect, and I can't find any way to contact anyone, except maybe here. If there is a better place to get support for Referer Control 0.4.3, please let me know :-)
It doesn't seem to work as I expect, although it's entirely possible that I don't clearly understand how it's supposed to work. Afaiu, it's supposed to change how the referer header is handled, when you click a link to go to another website. It puts a dropdown list on the toolbar, with several choices for what to do when you follow a link. So you can change it as needed, per website. It's default setting is "remove" which means (apparently) to remove the referer header before sending the request (which I guess they say makes it ready to go "out of the box").
Before I found this add-on, I had changed network.http.send.RefererHeader from 2 to 0 (in about:config). The only website where I had trouble, is Launchpad.net. Without setting it to 2, all I can do is view the website. If I want to post a comment, or search the site, I would have to manually change the referer header control in about:config. So I thought this would be a good website to test the add-on. (When I would try to post a comment or search the site, I would get an error message about the referer header.)
So when I found this add-on, I put it back to 2, assuming that the add-on is now going to block the referer header from being sent. I went to Launchpad.net (https://bugs.launchpad.net/inkscape) and with the new add-on's dropdown control list, set to "remove", I'm still able to do anything I want, without getting an error message about the referer header. So it seems like the add-on just doesn't work.
Out of curiosity, I opened about:config so I could look at what happens to network.http.send.RefererHeader when I change the add-on settings. But apparently, it works in some other way, than altering about: config, because no matter which control option I choose, the referer header stays on 2.
Well, I don't think that's exactly evidence that it doesn't work, because maybe the add-on works in some other way, than actually changing network.http.send.RefererHeader. But it does leave me to wonder how it does work, and why it's not working at Launchpad.net. Idk, or maybe this add-on really is a scam?
Can anyone help me with this Referer Control 0.4.3 add-on?
(https://addons.mozilla.org/en-US/firefox/addon/referrer-control/?src=ss)
Thank you very much :-)Oh, thank you Moses. I could not find that profile page. I found a website, but is all in a traditional Asian language (pretty, but I can't read it).
Thanks cor-el. I will try to search out some info about that. (I do understand, in general, what a cross site request/referer is.) The add-on under discussion probably does more than just prevent the cross site scripting, etc, assuming I can get it to work.
Now that I've got an email address, hopefully I can get some questions answered.
Thank you all very much.
Off topic, but the marking of a particular message that solves the problem is really rather annoying, at least it is to me. Most of the time, there are several replies from different people, which together provide the solution. I just don't understand how this feature is helpful. But of course, I try my best to choose 1 reply ;-) -
Need help inserting flash movie into article...
I inserted video into flash movie. I loaded the .swf & .fla files onto a server and went into the properties in the flash movie and pointed to the server to pull the .fla file & the movie controls .swf file. I can preview the movie in flash with no problem.
I am wanting to use the object code that was created as part of the .html file that was generated by flash and insert this into an article to display the video. I path the .swf file in the object code to point to where it resides on the server but the video will not play using just the object code. Is there a way to do this using just a object or embed code without the need for scripts?
(I am using CS4 version)If the swf file does not reside in the same folder as the html page that loads it, then if the video is dynamically loaded into the Flash file, chances are the targeting in the swf needs to be adjusted. If the swf files just targets the video by its filename alone, try putting the video file in the same folder as the html file and see if it gets loaded.
-
Boss is gonna kill me. I Need help inserting a DATE/TIME into MSAccess
Hello,
I have spent way to long trying to figure out how to insert a date into the date/time field of a microsoft access database. Could someone please help me figure this out. I know there are a million previous posts about this topic and i looked through a bunch and none of them seem to work... i have tried so many different things. The code i am working (at this point in time.. since it has changed a million times) is:
String MYDATE = "yyyy-MM-dd hh:mm:ss a";
Date date = new Date();
String dateout = new SimpleDateFormat(MYDATE).format(date);
System.out.println(" the date is " + dateout);
Timestamp timeStamp = new Timestamp(date.getTime());
timeStamp.setNanos(0);
System.out.println(" the date is " + timeStamp);
String sql2 = "INSERT INTO DATE5 (stuff, date) VALUES ('hello', CVDATE(" + timeStamp + "))";
ProblemTrackingDB.DoUpdate(sql2);
sql2 = "INSERT INTO DATE5 (stuff, date) VALUES ('hello', '" + dateout + "')";
ProblemTrackingDB.DoUpdate(sql2);
i have tried both of those ways and either work (ie... comment one out and try the other)
i always get a " Syntax error in INSERT INTO statement" thrown
i have also tried without the single quotes.
Any help would Be MUCH appreciated as my boss is starting to get agrivated...
thanks to anyone who helps,
JonChange your program to use a PreparedStatement to do this insert. You only need to create a PreparedStatement once, so in your constructor or initializer do this:PreparedStatement insert = connection.PrepareStatement("INSERT INTO DATE5 (stuff, date) VALUES (?, ?)");Then the code to write a record is this:Timestamp timeStamp = new Timestamp(date.getTime());
timeStamp.setNanos(0);
insert.setString(1, "hello");
insert.setTimeStamp(2, timeStamp);
insert.executeUpdate();That's all. You never need to mess about with formatting timestamps in the way your database needs them, the PreparedStatement takes care of all that for you. -
Nube needs help inserting a JQuery horizontal menu bar into my site-help.
Please forgive the ignorance of my questions but I am new to Mobile site design and Dreamweaver.
I am trying to build a responsive web site for my company that can be viewed on multiple platforms, but am having trouble inserting a responsive menu and responsive slide show.
This post is in regard to the menu bar, which I have created using JQuery on a seperate page. I have managed to get the layout to work but still can't figure out how to create mouse overs for the links
or how to insert it into my site.
Please help.
Why can't I see the nav bar in the site when I paste in?
All I see is the text and no images. I know I am pasting the code in the wrong place.
Where do I insert it?
Below is the code for the site and below that is the code for the menu bar.
Where do I insert it? Help.
Thank you in advance for any help you can provide.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled Document</title>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="css/master.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
</head>
<body>
<div class="gridContainer clearfix">
<div id="LayoutDiv1">
<div align="center"><img src="images/Site Objects/headermain.png" alt="header"></div>
</div>
<div id="navbar">ul#navlist { font-family: <span class="navfont">sans-serif</span>; }
ul#navlist a
font-weight: bold;
text-decoration: none;
ul#navlist, ul#navlist ul, ul#navlist li
margin: 0px;
padding: 0px;
list-style-type: none;
ul#navlist li { float: left; }
ul#navlist li a
color: #ffffff;
background-color: #<span class="navmainbg">003366</span>;
padding: 3px;
border: 1px #ffffff outset;
ul#navlist li a:hover
color: #ffff00;
background-color: #<span class="submenubg">003366</span>;
ul#navlist li a:active
color: #cccccc;
background-color: #003366;
border: 1px #ffffff inset;
ul#subnavlist { display: none; }
ul#subnavlist li { float: none; }
ul#subnavlist li a
padding: 0px;
margin: 0px;
ul#navlist li:hover ul#subnavlist
display: block;
position: absolute;
font-size: 8pt;
padding-top: 5px;
ul#navlist li:hover ul#subnavlist li a
display: block;
width: 10em;
border: none;
padding: 2px;
ul#navlist li:hover ul#subnavlist li a:before { content: " >> "; }
Read more: How to Make a Rollover Drop-Down Menu | eHow http://www.ehow.com/how_8569816_make-rollover-dropdown-menu.html#ixzz2WZQ3IDmU</div>
<div id="slideshow">
<div id="slideshow">
<div align="center">
<!-- Begin DWUser_EasyRotator -->
<script type="text/javascript" src="http://c520866.r66.cf2.rackcdn.com/1/js/easy_rotator.min.js"></script>
<div class="dwuserEasyRotator" style="width: 1225px; height: 400px; position:relative; text-align: left;" data-erConfig="{autoplayEnabled:true, randomize:true, autoplayDelay:3000, autoplayStopOnInteraction:false, autoplayPauseOnHover:false, audio_controllerLocation:'br', lpp:'102-105-108-101-58-47-47-47-85-115-101-114-115-47-77-97-99-50-47-68-111-99-117-109-1 01-110-116-115-47-69-97-115-121-82-111-116-97-116-111-114-80-114-101-118-105-101-119-47-11 2-114-101-118-105-101-119-95-115-119-102-115-47', wv:1}" data-erName="slideshow rotator" data-erTID="{hg3ysjwkx61418058007631}">
<div data-ertype="content" style="display: none;"><ul data-erlabel=>
<li>
<img class="main" src="_images/Site Objects/fades how/lrg_images/image09-turn.png" />
<img class="thumb" src="_images/Site Objects/fadess how/lrg_images/image09-turn.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/fades how/lrg_images/image08-ss.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image08-ss.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image07-posters.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image07-posters.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image06-photo_ed.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image06-photo_ed.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image05-nwsmag.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image05-nwsmag.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image04-litigation.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image04-litigation.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image03-creative.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image03-creative.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image02-corp.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image02-corp.png" />
</li>
<li>
<img class="main" src="_images/Site Objects/slides how/lrg_images/image01-bound.png" />
<img class="thumb" src="_images/Site Objects/slides how/lrg_images/image01-bound.png" />
</li>
</ul>
</div>
<div data-ertype="layout" data-ertemplateName="NONE" style=""> <div class="erdots" style="overflow: hidden; margin: 0; position:absolute;right:0;top:9px;width:300px; font-size: 10px; font-family: 'Lucida Grande', 'Lucida Sans', Arial, _sans; color: #FFF;" data-erConfig="{showText:false}" align="center">
<div class="erdots_wrap" style="wasbackground-color: #CFC; float: right;" align="left"> <!-- modify the float on this element to make left/right/none=center aligned. -->
<span class="erdots_btn_selected" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: default; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_65.png) top left no-repeat;">
</span>
<span class="erdots_btn_normal" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: pointer; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_35.png) top left no-repeat;">
</span>
<span class="erdots_btn_hover" style="padding-left: 0; width: 20px; height: 20px; display: inline-block; text-align: center; vertical-align: middle; line-height: 20px; margin: 0 0 0 5px; cursor: pointer; background: url(http://easyrotator.s3.amazonaws.com/1/i/rotator/dots/export/20_14_black_65.png) top left no-repeat;">
</span>
</div>
</div>
<div class="ercats erFixCSS3" style="position:absolute; left:0; right: 320px; top: 0;" style_real="padding: 4px 8px; font-family: 'Lucida Grande', 'Lucida Sans', Helvetica, Arial, _sans; font-size: 11px; color: #333; wasmargin: 0 50px 10px 50px; wasborder-radius: 6px; wasbackground-color: #EEE; wasborder: 1px solid #E0E0E0; overflow: hidden;">
<div align="center">
<!-- <div style="float: left; padding: 6px 18px 3px 0; font-weight: bold;">Title text!</div> -->
</div>
<div class="ercats_btn_selected erFixCSS3" style_real="float: left; padding: 3px 8px 4px 8px; border-radius: 4px; background-color: #FFF; box-shadow: 0 0 2px #999; wasborder: 1px solid #CFCFCF; color: #555; margin: 3px 9px 3px 0; cursor: default;">
<div align="center">Title1 </div>
</div>
<div class="ercats_btn_normal erFixCSS3" style_real="float: left; padding: 3px 8px 4px 8px; border-radius: 4px; color: #666; cursor: pointer; margin: 3px 9px 3px 0;">
<div align="center">Title2 </div>
</div>
</div>
<div class="erimgMain" style="position: absolute; left:0; right:0; top:40px; bottom:0;" data-erConfig="{___numTiles:3, scaleMode:'fillArea', imgType:'main', __loopNextButton:false, arrowButtonMode:'rollover'}">
<div class="erimgMain_slides" style="position: absolute; left:0; top:0; bottom:0; right:0;">
<div class="erimgMain_slide">
<div class="erimgMain_img" style="position: absolute; left: 0; right: 0; top: 0; bottom: 0;"></div>
</div>
</div>
<div class="erimgMain_arrowLeft" style="position:absolute; left: 10px; top: 50%; margin-top: -30px;" data-erConfig="{image:'circleBig', image2:'circleBig'}"></div>
<div class="erimgMain_arrowRight" style="position:absolute; right: 10px; top: 50%; margin-top: -30px;" data-erConfig="{image:'circleBig', image2:'circleBig'}"></div>
</div><div class="erabout erFixCSS3" style="color: #FFF; text-align: left; background: #000; background:rgba(0,0,0,0.93); border: 2px solid #FFF; padding: 20px; font: normal 11px/14px Verdana,_sans; width: 300px; border-radius: 10px; display:none;">
This <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/" target="_blank">jQuery slider</a> was created with the free <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/" target="_blank">EasyRotator</a> software from DWUser.com.
<br /><br />
Use WordPress? The free <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/wordpress/" target="_blank">EasyRotator for WordPress</a> plugin lets you create beautiful <a style="color:#FFF;" href="http://www.dwuser.com/easyrotator/wordpress/" target="_blank">WordPress sliders</a> in seconds.
<br /><br />
<a style="color:#FFF;" href="#" class="erabout_ok">OK</a>
</div>
<noscript>
Rotator powered by <a href="http://www.dwuser.com/easyrotator/">EasyRotator</a>, a free and easy jQuery slider builder from DWUser.com. Please enable JavaScript to view.
</noscript>
<script type="text/javascript">/*Avoid IE gzip bug*/(function(b,c,d){try{if(!b[d]){b[d]="temp";var a=c.createElement("script");a.type="text/javascript";a.src="http://easyrotator.s3.amazonaws.com/1/js/nozip/easy_rotator.min.js";c.getElementsByTagName("head")[0].appendChild(a)}}catch(e){alert("EasyRotator fail; contact support.")}})(window,document,"er_$144");</script>
</div>
</div>
<!-- End DWUser_EasyRotator -->
<script type="text/javascript" src="http://c520866.r66.cf2.rackcdn.com/1/js/easy_rotator.min.js"></script>
</div>
<!-- End DWUser_EasyRotator --></div>
</div>
<div id="body">
<div align="center"><img src="images/page templates/home pg tmplt blnk.png" alt="body"></div>
</div>
<div id="footer">
<div align="center"><img src="images/Site Objects/footermainbck.png" alt="footer"></div>
</div>
</div>
</body>
</html>
Below is the code for the JQuery menu with sub and secondary sub menus:
<!DOCTYPE html><!--[if IE 7]>
<html lang="en" class="ie7 oldie"></html><![endif]--><!--[if IE 8]>
<html lang="en" class="ie8 oldie"></html><![endif]-->
<!-- [if gt IE 8] <!-->
<html lang="en">
<!-- <![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlexNav - Flexible, Device Agnostic Navigation</title>
<link href="css/flexnav.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="css/page.css" media="screen, projection" rel="stylesheet" type="text/css">
<style type="text/css">
body,td,th {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 14pt;
body {
background-color: #FFF;
a:link {
color: #FFFFFF;
text-decoration: none;
a:visited {
color: #FFF;
text-decoration: none;
a:hover {
color: #F00;
text-decoration: none;
a:active {
color: #900;
text-decoration: none;
</style>
<script type="text/javascript" src="//use.typekit.net/qyb8ood.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
</head>
<body bgcolor="#FFFFFF" vlink="#FF0000" alink="#990000" class="home-page">
<script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
<script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
<div class="container">
<header id="site-header">
<div class="menu-button">Menu</div>
<nav>
<ul data-breakpoint="800" class="flexnav">
<li><a href="HOME">HOME</a>
<li><a href="About Us">ABOUT US</a>
<li><a href="Products">PRODUCTS</a>
<ul>
<li><a href="Bound Products">Bound Products</a>
<ul>
<li><a href="Booklets">Booklets</a></li>
<li><a href="Catalogs & Magazines">Catalogs & Magazines</a></li>
<li><a href="Newsletters">Newsletters</a></li>
<li><a href="Presentation Books">Presentation Books</a></li>
<li><a href="Manuals">Manuals</a></li>
</ul>
</li>
<li><a href="Brochures">Brochures</a></li>
<li><a href="Business Cards">Business Cards</a></li>
<li><a href="CD & DVD Dupe">CD & DVD Duplication</a></li>
<li><a href="Copies">Copies</a></li>
<li><a href="Corp. ID">Corporate ID</a></li>
<li><a href="Flyers">Flyers</a></li>
<li><a href="Forms">Forms</a></li>
<li><a href="Menus">Menus</a></li>
<li><a href="Photo Collages">Photo Collages</a></li>
<li><a href="Photo Enlargements">Photo Enlargements</a></li>
<li><a href="Postcards">Postcards</a></li>
<li><a href="Rack Cards">Rack Cards</a></li>
<li><a href="Wide Format">Wide Format</a>
<ul>
<li><a href="Banners">Banners</a></li>
<li><a href="Posters">Posters</a></li>
<li><a href="Signs">Signs</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="Services">SERVICES</a>
<ul>
<li><a href="Litigation">Litigation Services</a></li>
<li><a href="Creative">Creative Services</a></li>
</ul>
</li>
<li><a href="FAQs">FAQs</a>
<li><a href="Contact Us">CONTACT US</a>
</ul>
</nav>
</header>
\ </div>
<script type="text/javascript">$(".flexnav").flexNav();</script>
</body>
</html>Ok, I managed to place the menu within the site, but I still don't have a horizontal menu. All I can see is the unordered list.
(see below).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<title>Home Page</title>
<meta name="view" name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="IE=9 />
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="css/master.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
<script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
<style type="text/css">
img {margin:6px; border:solid 2px #FFF;}
img:hover {background: #666;}
</style>
<link href="styles/navbar stylesheet new.css" ref="stylesheet" type="text/css" />
</head>
<body>
<div class="gridContainer clearfix">
<div id="LayoutDiv1">
<div align="center"><img src="images/Site Objects/headermain.png" alt="header"></div>
</div>
<div id="navbar"><script src="http://code.jquery.com/jquery-1.9.0.js" type="text/javascript"></script>
<script src="js/jquery.flexnav.min.js" type="text/javascript"></script>
<div class="#"
<div class="menu-button"></div>
<nav>
<ul data-breakpoint="800" class="flexnav">
<li><a href="HOME">HOME</a>
<li><a href="About Us">ABOUT US</a>
<li><a href="Products">PRODUCTS</a>
<ul>
<li><a href="Bound Products">Bound Products</a>
<ul>
<li><a href="Booklets">Booklets</a></li>
<li><a href="Catalogs & Magazines">Catalogs & Magazines</a></li>
<li><a href="Newsletters">Newsletters</a></li>
<li><a href="Presentation Books">Presentation Books</a></li>
<li><a href="Manuals">Manuals</a></li>
</ul>
</li>
<li><a href="Brochures">Brochures</a></li>
<li><a href="Business Cards">Business Cards</a></li>
<li><a href="CD & DVD Dupe">CD & DVD Duplication</a></li>
<li><a href="Copies">Copies</a></li>
<li><a href="Corp. ID">Corporate ID</a></li>
<li><a href="Flyers">Flyers</a></li>
<li><a href="Forms">Forms</a></li>
<li><a href="Menus">Menus</a></li>
<li><a href="Photo Collages">Photo Collages</a></li>
<li><a href="Photo Enlargements">Photo Enlargements</a></li>
<li><a href="Postcards">Postcards</a></li>
<li><a href="Rack Cards">Rack Cards</a></li>
<li><a href="Wide Format">Wide Format</a>
<ul>
<li><a href="Banners">Banners</a></li>
<li><a href="Posters">Posters</a></li>
<li><a href="Signs">Signs</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="Services">SERVICES</a>
<ul>
<li><a href="Litigation">Litigation Services</a></li>
<li><a href="Creative">Creative Services</a></li>
</ul>
</li>
<li><a href="FAQs">FAQs</a>
<li><a href="Contact Us">CONTACT US</a>
</ul>
</nav>
</header>
</div>
<script type="text/javascript">$(".flexnav").flexNav();</script>
</div>
<div id="body">
<div align="center"><img src="images/page templates/home pg tmplt blnk.png" alt="body"></div>
</div>
<div id="footer">
<div align="center"><img src="images/Site Objects/footermainbck.png" alt="footer"></div>
</div>
</div>
</body>
</html> -
Need Help - Inserting articulate engage swf in a published Presenter presentaiton.
Hello. I am having tremendous difficulty publishing articulate engage swf's in my adobe presenter presentation. I have done this before but for some reason i am having trouble now. When i publish my presentation locally, the output from presenter changes the name of my swf files to embedded_flash_... with a number at the end. My question is how can i tell what presenter has renamed the indidual swf files. I have to change the name of the content folder from engage to match so i need to know which slide has which swf. I have several swf files in the presentation and keeping track of them is quite difficult.
Is there a way to click on slide with a swf on it to determine what presenter has renamed it? Swf Properties or View shockwave object or something else?????
Thanks MikeHi Mike!
I actually ran into a problem similar to what you've written about here.
Here's a suggestion to try; you may experience weird / unexpected results, but it may be worth a try....and who knows, it could help!
Here goes:
Rather than using one quiz container for your content / course, what I'd like you to do is break up "non-contiguous" question slides into totally separate quiz containers. I think what you need to avoid is having any kind of flash interactions from Engage running between a set of question slides stemming from one quiz container.
So instead of having a question on slide 5, an Engage interaction on slide 6 and another question on slide 7.....I want you to try breaking that up so that it looks like this:
Question on slide 5 [from quiz container 1], Engage interaction, question on slide 7 [from quiz container 2]...and so on.
Here's the deal: I've personally seen instances where adding custom Flash animations between question slides have caused some interference with the functionality of question slides. Even though you're using a totally different product, Engage still employs code parameters that can cause some breakdowns as soon as you publish your Adobe Presenter content, and I think that's what's happening here. To be brutally honest, I don't have Engage, but I'd be willing to bet it's causing the same problems that I've encountered with Flash animations that I've tried to incorporate into my Presenter content.
So again, try breaking up the question slides into separate, independant quiz containers and see if that resolves the problem....I'd be curious to know if that works!
Rob
http://www.robrode.com/yabb/ -
Hi All,
I am finding difficulty with the tabstrip control.i have created 3 tabs one for mara,marc and mard tables.i have to display few fields of these tables in their respective subscreens.using the material number i have to get the values from the table and display it in the respective subscreens.i am getting the output.but if i try to give another value for the material number it is not accepting...it holds the same value i gave before.i tried to use refresh,clear to clear the internal tabes i am using to fetch data.but i am not getting it....also
i want to use f3 function key to go back even if i havent given the value for mandatory fields. can u help me?helpful answers will be rewarded....
regards,
sheeba.Hi,
http://help.sap.com/saphelp_nw70/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
http://help.sap.com/saphelp_sm32/helpdata/en/d1/801bd2454211d189710000e8322d00/content.htm
Check think link:
http://www.****************/Tutorials/ABAP/Tabstrips/page1.htm
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
Regards,
Priyanka. -
I am using a Papst servo motor and I need to know where to start and what to purchase to get this motor to spin. I am using visual basic and in my program I calculate the direction and RPM's needed from the motor. It will spin anywhere from 1 to 10000 RPM's. It seems rather easy, but I have no idea on how to spin the motor at the specific RPM, and stop it with a command stop in the program. Please help.
We really should know a little more about your intended uses for this system, but assuming you want to do relatively simple (or even not so simple!) motion, you'll need a few components...
A motion controller, such as the PCI-7342, can take your VB commands and turn them into the commands needed to "run" the motor. Next you'll need a drive, such as the MID-7342. This includes the servo amplifier that actually powers the motor. It also has connections to "pass through" the encoder signals from the motor back to the motion controller.
The above-named pieces assume one or two axes of motion. You'll also need a cable to connect the two (can't remember the model right now). You can use MAX to configure the motion controller, and there are just a few VB calls you
'll need to make using NI-Motion functions to define the motion and get it going.
Hope this helps!
Maybe you are looking for
-
How to get back music and video conent after updating ipod
I have recently updated my ipod touch. And when it restored tmy stuff back it only put back my photos and apps, but deleted my music and videos. I already tried restoring form an back-up and it did not work. please help, that was a lot of music.
-
Ladies & gentlemen I am using evaluation version of ImageUltra Builder 4.0 for Windows XP. Both server and console have been installed on the same machine. When I try to add a new repository, then after pressing the final "Finish" button I get the m
-
Unable to Install WL6.0 on NT4SP5 server
I am attempting to install Weblogic Server 6.0 on an NT 4 SP 5 server. 96MB RAM, 2G free disk space, Pentium II processor. After doubleclicking on the weblogic600_win.exe file, the installer extracts files to c:\temp\ixxxxxxx folder. Then the install
-
My iCloud keychain doesn't sync on all my devices. I've tried to fix my problem based on this Apple link Get help using iCloud Keychain - Apple Support before I post this question. I did turn off and on keychain on all devices many times with no luck
-
Is there a forum I can use to offer services to game developers as a music composer Sound Designer?