Images for button
Hi,
Can anyone provide link for adf- predefined image repository for buttons like add, delete, search, describe so on ...
locate the <jdev_home>/jdeveloper/ide/lib/ folder and open oicons.jar and then navigate to oracle/javatools/icons
Similar Messages
-
Spry menus - using images for buttons
A search of the forums shows two approaches, to use an image
for a button in a Spry menu.
One of them uses HTML to put an <img> into the
<li>. Here is the example I found cited [contributed by
arandlett - though said there not to work in IE7].
<ul class="MenuBarVertical" id="MenuBar1">
<li><img src="images/bullet.png" align="left"
/><a class="MenuBarItemSubmenu"
href="index.htm">home</a></li>
<li><img src="images/bullet.png" align="left"
/><a href="#">About</a> </li>
</ul>
The other advises "find "background-color" and change it to
"background-image: url(link/to/image)" " [contributed by The only
RaM].
Underlying of course, is the question, how does the HTML
interplay (or not!) with the Spry javascript?
By this time, there must be pretty wide experience. After
all, putting interesting buttons in the popups/dropdowns is in many
ways what this is about.
We would be quite appreciative to learn what experience
indicates, now, is best practice. Or, does it depend, on ... ?
Thanks in advance for your help, David AllenLet me add a note to my own post.
We would still be delighted to hear others' experience, with
images in Spry menus. One thing does emerge with a little further
look: The Spry menu is suited to using the _same_ image for each
button. If the desire is to vary that image (such as to use an
unusual font, so that the text changes on each image), then
Fireworks clearly is the tool of choice.
Again, we would be pleased to hear other experiences, David
Allen -
Any suggestions as to how I can use an image as a button? I have successfully imported my image, got it displaying fine but PL/SQL is unavailable for it. Why can't I do a 'When-Image-Pressed' on an imported image. I also tried using the image item but do not know how to set the source.
Oh yeah, while I'm on the subject, how do you get an iconic button to display its icon? Does it have to be a .ico?
BenHi,
Well your first part of question , well i have to work on it.May be only then i would be able to suggest u anything.
As far as iconic button are concerned. There is a property in button property pallette of button type. Set it to iconic.
Set iconic file name(Give complete path of file).
Well not neccassary it should be .ico. Can be other image file also.
navneet jain
[email protected] -
what is the action script code, and what else is needed, to
make my buttons change color (indeed image) on rollover?
I have got this from the manual:
366ActionScript classesonRollOut (Button.onRollOut
handler)onRollOut = function() {}Invoked when the pointer moves
outside a button area. You must define a function that executes
when the event handler is invoked.Availability: ActionScript 1.0;
Flash Player 6ExampleIn the following example, a function that
sends a trace() statement to the Output panel is defined for the
onRollOut handler: my_btn.onRollOut = function () {trace
("onRollOut called");};onRollOver (Button.onRollOver
handler)onRollOver = function() {}Invoked when the pointer moves
over a button area. You must define a function that executes when
the event handler is invoked.Availability: ActionScript 1.0; Flash
Player 6ExampleIn the following example, a function that sends a
trace() statement to the Output panel is defined for the onRollOver
handler: my_btn.onRollOver = function () {trace ("onRollOver
called");};
how do I hanlde the trace() statement??
Thanks,
DarioAlso, if the buttons are bitmap images as opposed to vector
drawing objects or text created in Flash, the bitmaps will use a
lot more memory.
In Dreamweaver, one uses the replace image onRollover method
to achieve this type of change, but Flash operates differently, so
unless the image that your using is a picture, you can most likely
re-create the button using Flash drawing tools and text, directly
on the Stage.
You can also use ActionScript to change the look of a Button,
use an MovieClip as a Button, use the color controls(tint,
brightness or alpha as mentioned above), use Flash filters, use the
Tweens and Transitions classes to animate it, or use a variety of
other advanced methods, and combinations of any of these!
Agreeing with 2m, if you could post a simple example file
online, we could be of more assistance. -
Foreground image for buttons on jsp
Is it possible for me to create a button with an image on it in the jsp editor. You can do it for a link by dragging and dropping the image on the visual editor.
Hi,
HTML, and thsi is what JSP generate, doesn't support iconic buttons
Frank -
Use sprite image for button icons
Hi all,
I'm developing a mobile app in sapui5, i have many buttons in that.
I also have a sprote image which contains all the icons.
Please help me to use the sprite image as icons to the button.
Thanks,
Rahul.sorry the sprote implies sprite
sprote ~ sprite -
I am trying to create a spry menu that has 5 buttons and each button will have 3 different images for each state (something like this http://jjcstudios.com/woof_wallet/ ) I was going to use the insert > navigation bar but I read that this method creates a lot of extra javascript and they recommended using Spry instead. Can anyone point me in a direction to create a clean method of doing java rollovers or modifying the spry menu so it will work as a rollover. thanks john
John,
To place the javascript in an external file, grab the code that is producedon the page
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
and place it in a file called menu.js or similar.
In your page place the following in between the <head></head> tags
<script src="menu.js" type="text/javascript"></script>
to link the Javascript.
If you want to put menu.js in a different folder, make sure you adjust the link accordingly, like "js/menu.js"
Ben -
Help Choosing specific image for a button - slider not precise enough!
I am using an image from my movie as a menu button. The slider is not giving me enough precision to seleect the image I want. It seems to move a few frames at a time. Is there anyway to make the slider more precise as it scrolls through the movie?
Power Mac G4 Mac OS X (10.3.9) Dual 867MHz 1.25 GB DDR SDRAMI've tried the arrow keys but that moves the cursor either to the very beginning of the movie, to the middle or to the end. I also tried arrow keys with option. control and command keys pressed down.
There must be a more precise way of locating the still image for the menu button. Perhaps I could go back to final cut, creat a still image and import that as the menu button...but it seems like there must be a simpler solution within iDVD. Help. -
I am using images for my buttons. In the attribute section/ image attributes of the button properties I have:
#APP_IMAGES#addrow1.gif
I want to change the image when the user mouse over.
I tried adding: onmouseover="this.src='/i/htmldb/addrow2.gif';" to the image, and copying the image files to the /i/ folder, but it doesn't work. How can I toggle the button image with mouseover?hi,
thanks for reply. How do I post a link do I need to upload it to a server somewhere?
I sort of got it to work in the end. When I applied onClick or onMouseDown it always applies a second onMouseOver so then I right-click the second onMouseOver in the Beahviors palette and choose onClick from dropdown menu, this seems to fix it.
Though there is still 1 thing puzzling me. Is it possible to get the onClick image or "hit" button state to restore to original image as soon as user releases mouse button rather than when pointer rolls off the button. Only a very minor detail and not really an issue. Just would look slightly slicker if the "hit" state was a brief flash or pulse.
cheers
s -
Providing image for Standard Buttons on Application Forms
I've seen some postings on changing the standard buttons used in forms. Does anyone know if this has changed at all in Release 2? I want to put my own image for a button instead of the standard gray button and before doing the workarounds recommended, I want to know if this has been addressed in the new release.
Thanks.I am afraid, the new release does not include changes where you can replace buttons with images.
-
Getting images for toolbar buttons
I am having problem with getting images for my JToolBar buttons. Please where and how can I get the images?
sun has these:
http://developer.java.sun.com/developer/techDocs/hi/repository/ -
Using a background image for the buttons in spry menu
Hi All,
Going nuts here.
I'm using the vertical spry menu widget w DW CS3 and trying
to alter the css style sheet, so that I can use a li class for each
of the 14 links on this page, with an upstate and a hover state
only. (the focus, and hover while down will be the same as the
others, to keep it simple and not too distracting)
The page is here that I will be replacing the entire
background image in sidebar1 and sidebar2 with a custom spry menu
with the 14 li classes for 2 seperate menus:
http://audibleimagesav.com/blank_doc.html
Has anyone used a background image in place of just using
bkgrd colors and borders for the spry menu ?
I am aware of the attributes that the help docs suggest that
need to be altered as listed here :
http://livedocs.adobe.com/en_US/Spry/1.4/help.html?content=WS0BB04E11-1BE3-4a67-BC94-BE7DA 93A0159.html
I have been working on just an experimental page, that is now
hacked up, however if you want to see that it is here with only the
first list item coded:
http://audibleimagesav.com/site%20theme%20ideas/sprymenu_exp.html
The spry css menu widget for that page is here:
http://audibleimagesav.com/SpryAssets/SpryMenuBarVertical.css
So in short, has anyone done a bkgrd image for the main menu
(not submenu) in a spry widget?
Thanks in advance.
Art
Art Hansen
Web Design & Marketing
http://www.innova-techsolutions.com
321.750.3852 - Cocoa Beach, Florida, USAhttp://meyerweb.com/eric/css/edge/popups/demo2.html
Maybe -
How to create a background image for each item in a List object
Hello.
I am trying to create a background image that displays whenever a user posts something to a list. For example when a user posts text it would appear in a list. The new item in the list would contain a specific background image with the users text appearing on top of the background image. I do not want a background image for the entire list, rather each item within the list.
I am not sure how clear this is so I added an image below. When a user enters text in and clicks the "post-it" button their text would appear below with the sticky note background.
I am not sure which list type would be best for this problem or how to create insert the image, so I am open to suggestions.
Thank you for your help. Any advice or guidance will be greatly appreciated!Hi
the easiest way would be with itemRenderer.
You have to do two things:
1. In your list declaration use a item renderer: <mx:List itemRenderer="myRenderer"/>
2. create a flex component myRenderer that will be the single item. This can be a canvas with a background image and a text field on it.
When you add a new item to the list, a new myRenderer item will be created and the data property will be passed to it. So you have to put "data" in your textField.
If you need more help try looking at Tour de Flex samples, they're pretty easy.
Andrei -
Setting icon for buttons in labview 6i
Hi All,
Currently i am working on Labview 6i. i created two buttons in my vi one button is used to perform the test, another will be used to exit from the test. i would like to add icons for those buttons. can anyone tell me how to add icons for buttons.
Thanks,
kalpanaYou realize that LabVIEW 6.0 is at least 15 years old? That would be almost equivalent to working with a Windows 98 machine nowadays!
Yes your picture can't be imported in LabVIEW 6.0 on my machine either. I haven't checked about all the details, but the LabVIEW import in 6.0 doesn't seem to work for png and gif images but only for bmp. Newer versions do work for your png file including honoring the transparency at least since version 7.1.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Creating a USB boot image for LabviewRT
I have installed Labview 8.2 and the "update 8.2.1" for Labview RT Standard version from the web.
I am trying to create a bootable image for a target Laptop PC, using a USB jump drive.
When I run NI-MAX and select TOOLS->RT Disk Utilities->Create Desktop PC Utility USB Drive, a popup dialog appears that says:
"This utility will reformat a USB drive with a Labview Real-Time boot USB utility for use with a USB boot-capable Desktop PC. Make sure the USB drive is connected to your computer before you continue.
Do you want to use this utility?"
Clicking on Yes, shows a dialog selection window, with a single entry ="Version 8.2", and an OK and Cancel button.
Selecting the OK button, shows an error popup titled: Measurement & Automation Explorer" with text="Unable to detect USB drives"
The jump drive is 32MB and is visible in WINDOWS Explorer.
WHY will NI-MAX not see or use this jump-drive ?
( I have tried two different jump drives from two different manufacturers)Hello,
Does your jump drive conform to the USB Mass Storage Device Class? What drive letter are you using? Did you create it by running the command line utility "subst"?
Have you tried doing this on a different computer? Are the USB ports 1.1 or 2.0?
http://digital.ni.com/public.nsf/websearch/D3AD6D3474D09C5E86256E130079C1B0?OpenDocument
Regards,
Clint M
National Instruments
Maybe you are looking for
-
Here's the link: http://www.barristercopy.com I have two of my pages that are deeper with content than the others, Case Studies and Management Team. These are the two pages that seemingly jump slightly when viewed with IE. No problem in FF. Generally
-
Invalid SQL generated for count query.
A SQL statement was generated with the table name information missing when a count SQL query was issued (e.g. SELECT COUNT(*) FROM WHERE <SOME EXPRESSION>). The same query worked fine before switching to vertical class mapping. Basically no queries w
-
Does anyone know how to lock a specific application, such as e-mail in Ipad?
I have my company email in my Ipad and I want to lock it in order to prevent whoever uses my Ipad to login to my email. Does anyone know how to lock a specific application or it cannot be locked?
-
Where is Search window in Acrobat 8?
I just moved to Acrobat Pro 8 from 7 and I no longer see the docked search pane when I do a keyword search. I have read in the forums about a floating search window, but I don't see that either. When I do a search, I click Find at the top. The only w
-
Why can't I open my Powerpoint presentations with Keynote in my new Ipad 4 although?
Im using Icloud to share the powerpoint file from my windows to my Ipad. But, I still can open my powerpoint presentations neither in my Iphone.. Can someone help me, please. Thank you.