Login Register

image

Background Image for charting

Hi,

is it possible to add a background image to a chart (2D)? I have found a old post from 2007, which announces, it can be possible soon. But i found nothing else about it.

best regards
Horst

how does dijit load binary image data on the fly?

Hi,

Redirecting keyboard events

Is it feasible to trap keyboard events in a form and redirect them to another html element for the purpose of panning or zooming an image (or pdf) contained in that other element? The point is to fill out an HTML form while viewing an image, and being able to pan or zoom the image without switching focus from the form.

Thanks in advance,

Dale

background image covers drawn shapes

Hi,

I'm using dojo.gfx to draw graphics on a web page, but my page also has a jpg which I use as the background. My problem is that I can't draw over it. All the shapes I draw appear on my surface area, except the areas where I use an image as a background, in which case the image covers my shapes.

Anyone know how to get past this?

How can I connect a tooltip to a gfx image?

Hey, I looked at the demos on the nightly build, for the tooltip and the gfx images. I have the following code on my website. I pass in several variables, the myDetails, myDueDate, myProjectID, myLinkPage are what I want the text of the tooltip to be. I want the tooltip to appear when the user does a mouseover on the circle. I was wondering is there a way I can give an id to the circle to set this up. Also how would I set the text for the tooltips to be the vars that I am passing in? I couldn't find an example like that.

GFX image problems on IE7

Hello,

Has anyone ever encountered the following problem with GFX on IE7?

When I draw a regular vector shape (say, a line) in one part of the canvas and an image in another part of the canvas, then line becomes inaccessible to mouse events.

Example code:

var container = dojo.byId("canvas");
var dojoSurface = dojox.gfx.createSurface(container, 800, 400);

var dojoLine = dojoSurface.createLine({x1: 10, y1: 10, x2: 30, y2: 30}).setStroke({width: 5, color: "#0000ff"});
dojoLine.connect("onmousedown",function(){console.debug("line clicked");});

howto replace the "Loading..." text with an image (indicator) ?

I there,

When a user clicks on a submit button, a text "Loading..." is shown on my target ID.
How can I replace this text with an image (indicator)?

I found that the code line in Bind.js:

dojo.provide("struts.widget.Bind");

dojo.require("dojo.widget.HtmlWidget");
dojo.require("dojo.io");

dojo.widget.defineWidget(
"struts.widget.Bind",
dojo.widget.HtmlWidget, {
widgetType : "Bind",
executeScripts : false,
targets : "",
targetsArray : null,
href : "",
handler : "",

//messages

Sending image dynamically to the browser.

Hi All,
Is there any way in which I can send a dynamically generated image from the server to the browser. On thing that comes to my mind is (I am using Java on the server side). I would read an Image on the server using streams, base64encode it... and send it Via AJAX to the browser. The Browser in turn using a base64decoder will get the bytes again...

1. What NEXT? now if I have the image in the form of bytes... how do I display it on the screen?
2. Will any browser stop me from doing this?

Regards,
Yazad

Editor : LinkGroup ? InsertImage ?

Hi everybody,

Here is my first post, I have somme problem with dojo and I can't see a solution on the documentation.

First I use last version of dojo.

I want to add more functionnalities to editor panel. I saw function like insertHTML, insertImage, and others and I'm interested in, but when I try to add them to my panel I can't do it.

I've done that :

Image banner in dojo

Hi,
I just new in dojo I've read some parts of dojo book, it's perfect, but I don't know how to make basic image banner.
I need change href attribute in A tag and src attribute in IMG tag each 10 seconds.

I have this HTML code:

I tried do this

var images;

Syndicate content