Hi,
I wonder if someone is willing to help me optimize the following query:
SELECT <somefields>
FROM schools
LEFT JOIN addresses ON addresses.fkSchool = idSchool
LEFT JOIN users ON users.idUser = fkLogin
LEFT JOIN xlevels ON xlevels.fkSchool = idSchool
WHERE fkDep = 1
AND (fkLevel = 2 OR...
Ok, so I can do this:
RewriteEngine on
RewriteBase /somedir/help
RewriteRule ^chat(.*) index.iss?on=$1
And if I go to /somedir/help/chat/here I get /somedir/help/index.php?on=/here
It appears I'm getting close...
Hi,
I'm trying to get Apache to rewrite URLs based on this simple need:
convert this: /somedir/help/chat
to this: /somedir/help/index.php?on=chat
I want to use an .htaccess file on /somedir/help, but I can't seem to find the proper config for mod_rewrite... I've tried with this (remember its...
starway, I already thought of that, but that would mean I'd have to reload a very huge image on each mouse over... because I can't just replace part of the image, so I have to load the image of the map with the proper section highlighted.
ritstmo, I can't see how that would work, as I'll still...
That looks rather complicated, and if I read it right, it would move the image along with the mouse cursor, right? And that still doesn't solve the problem on the relative position of the map. Still, I think you gave me an idea to try to solve it, but I've decided to drop that "cool"...
It appears as of now it's impossible to do what I want (maybe another method...)
In short, I have a map of a city where users can select a deputation, and I wanted that when the mouse was over a recognized area, that area would be highlighted by showing an image on top of the map. The map must...
It has to be the other way around. I don't want to move imgRel's position at all, I want to move imgAbs.
Currently I don't think it can be done as I've tried countless ways, and none works. It appears the browser doesn't expose the coords where it renders stuff (well, it does as long as you use...
That's exactly the problem... imgRel left attribute is not set, and that's the whole point. I hoped there was a way to know where exactly is the browser rendering the stuff.
That's not exactly what I want. Your method just moves the image relative to its OWN position, I want to move it relative to other image's position.
Thanks.
Hi,
Is it possible to place an image on the screen relative to the position of another image? Something like this:
<img id="imgRel" src="someimage">
<img id="imgAbs" src="otherimage" style="position: absolute; visibility: hidden">
<script...
Sure, here it is:
function cscript(root) {
if (document.getElementsByTagName)
var x = document.getElementsByTagName('TD');
else if (document.all)
var x = document.all.tags('TD');
else return;
for (var i=0;i<x.length;i++)
{
if (x[i].className ==...
I've found a really simple (a lot simpler) and more elegant way. I can't post it because I'm now at home. Let me know if someone is interested to post it tomorrow (it's a great example on how to handle events for a particular kind of tag).
As for HTML being the only child node, well, the...
Hi,
I'm trying to assign the "onmouseenter" event programatically with the following code:
function cscript(root) {
for(var i=0;i<root.childNodes.length;i++) {
btn = root.childNodes(i);
if (btn.className.toLowerCase().length > 6) {
chk =...
How come that this always happens to me... I try endlessly to find an answer until I finally ask for help, and then suddenly, the solution pops in my head.
Well, I did many modifications to the httpd.conf file, until I got it right.
lol
Hi,
I've successfully configured mod_rewrite on a server using the following .htaccess file:
RewriteEngine on
RewriteBase /
RewriteRule ^edu(.*) /index.php?uri=$1
And so when any URL of this type is entered:
http://myserver/edu/lalala/yeah
Apache calls...
Hi,
I believe what he means is that if a Visio diagram that represents an UI can be converted to a Form in VB.
Well, I don't know a way to do that straightforward. What you could do is write macro that reads the items in the diagram and translates them to a .FRM file which you can then open in...
Hi,
I believe both OpenOffice and StarOffice are well worth the money for people that haven't used an office suite before, and for those who don't need much.
However, for MS Office power users, they're not there just yet.
Regards,
Ivan V.
Hi,
I'm wondering if search engines index files that don't have a standard extension (html, asp, etc.). I want to use some special extensions to distinguish some of the files on my page, and although they would be threated as normal PHPs by the server, I wonder if they will be indexed.
Thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.