Programming :: Javascript Ignores Format Modifying Instruction - Fade Some Text In And Out Via Opacity Attribute

Jun 24, 2011

All I want to do is fade some text in and out via the opacity attribute, and change the text when it hits zero. My script changes the text on time, but ignores the formatting effects. I'm not worried at this stage about the else statement in the startFadeEffect() function. I just want the fade effect to work here the way it should.

[Code]...

View 14 Replies


ADVERTISEMENT

Programming :: Modify 1 Of My Ldap Attribute If Have 2 Same Attribute Under 1 Entry ?

Jan 26, 2011

Assume, I have the below LDAP entry

Code:

Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret

Do we use?

Code:

And how?

View 1 Replies View Related

Debian Multimedia :: Fade To Black Has Become Fade To Red?

Jun 4, 2011

Does anyone using Kdenlive know how to reset the colors? For a six minute project within the last couple of days my fade to black has become fade to red. I noticed it after a dist-upgrade. Nothing obvious has caused this. I've purge and installed, no change.

View 6 Replies View Related

Programming :: How To Save Text Data In Binary Format Using C

Feb 20, 2010

I have created a file using open() and written data to it. Data appears as normal characters in the file. How to save these characters in a binary format in that file using C language? Here I mean that the characters should be actually stored as 0 and 1. Do I have to convert the whole data using some function or there is some standard way to do it in Linux?

View 14 Replies View Related

Programming :: String Format - Create A Text File ?

Feb 3, 2010

I am using C. I have a fuction that returns a string

Code:

I need to format this string so that I can create a text file like so:

So I'm trying:

Code:

But I get errors like:

View 2 Replies View Related

Programming :: X86 Syntax - Understanding Assembly Instruction

Jan 6, 2011

I'm reading "Understanding the Linux Kernel" and came upon this assembly instruction:
movl $(__KERNEL_CS << 16), %eax
I am curious as to what "<<" means/does. I tried to gooogle, but google doesn't search for "<<".

View 7 Replies View Related

Fedora :: Update - Attribute Error Object Has No Attribute 'rsplit'

Aug 30, 2009

Recently installed Fedora 11 from CD on eeepc900HA. Update manager suggested 402 updates available. trying to update I get the following traceback error report:

Traceback (most recent call last):

On trying this process a second time after having selected specific packages I noticed that a prepare machine for upgrade package (not selected by me) seemed to be where the process stalled.

Trying a third time with attempt to upgrade some (random) python packages I get the same result via a system/admin/upgrade or download software .

View 3 Replies View Related

Ubuntu Installation :: WYSIWUG HTML Editor - Ignores Used Fonts Unless Re-edit And Ignores Css On Links

Aug 17, 2011

However - is there such a thing as a decent HTML editor like dreamweaver? Komposer is buggy as hell - useless! Bluegriffon, well umm - screen fonts are bizarre, especially in viewing source code - brake down, multicoloured obviously a bug - no deb either, looks like a windows program install (?). This does look really good, but is unusable as I cant see in souce code view without getting a headache! Also, ignores css on links.

Seamonkey - you have to open browser then editor, then open your file. Ignores css totally. Amaya - ignores used fonts unless you re-edit - and ignores css on links. Weird way to select things as well, such as images. There must be at least one decent editor?

View 1 Replies View Related

General :: Text Mode Browser That Supports At Least Basic Javascript?

Apr 4, 2010

I looked at links2 and elinks - neither one seems to even support a simple javascript redirect on a site.

View 2 Replies View Related

Programming :: PHP Ignores One MySQL Table But Not Others?

Sep 23, 2010

I have just run into a baffling error. I have a database set up in MySQL with six tables. My PHP based website performs queries of all kinds on these tables (SELECT, INSERT, UPDATE, DELETE). On my most recently setup table, the "Orders" table, I am able to perform queries from the server, as well as from my PHP MySQL Admin interface, but all activity from my webpage states that the Orders table does not exist. All other tables are running fine. I have tried rewriting the query script, checked for case sensitivity problems, even cut and pasted other working scripts in place, changing the table and field names as needed. No success. What could cause a single table to not show up like this?

View 2 Replies View Related

Programming :: Modifying Hex Values From A Script?

Nov 11, 2010

I can use hexedit to manually edit one or two hex values in a binary file, but if I want to change many of the, this is impractical. Is there any tool that will take parameters like Code: someTool filename byteNumber replacementByte ?

View 3 Replies View Related

Programming :: Modifying The Elevator.c Module In Kernel?

Feb 22, 2011

There is a file called elevator.c. It is written as a module (i.e it has specific init and exit functions). However we are not able to see it in lsmod listing. We are working on a project where we need to modify this file. Compiling every time we change something will be time consuming. Is it possible to compile just this file and insert it as a normal module?

View 6 Replies View Related

Programming :: Modifying Timestamp Variable In Python?

Oct 29, 2010

I've implemented a python script in conky that shows my stock portfolio.But, in the output of last updated timestamp, I get a time several hours in the past. The url for fetching stock data is: [URL]This is a norwegian stock, and I also live in norway. So the timestamp is not translated to the stock market of where it came. I can't find any 'localizing' stuff in the url either.Now my question is this: The script puts the time into a variable, the varable now contains ex 11:23 Is there any way I can add 6 hours or so to this variable

View 3 Replies View Related

Programming :: Executive JavaScript Function Along With URL

Jun 15, 2011

There is this sample web page: [URL] and it has a clickable link / button that executes a JavaScript function: (Right-Click and Copy Shortcut would give this piece of code)

Code:
javascript:__doPostBack('lbtnUpdateStatus','')
whereas the source code for the link / button is as follows:
Code:
<a id="lbtnUpdateStatus" href="javascript:__doPostBack('lbtnUpdateStatus','')">

I want to automate the above function / link along with the said URL so that I won't have to open the webpage and click the button / link. I want a single URL hitting which we won't need to do the extra effort of "clicking the link / button" that executes the JavaScript function given above. I can't automate this task in the source webpage itself because that has to be there as it is for the users who access the webpage. How to achieve it?

I got some useful information here: [URL] but I want to call a javascript function along with a URL such as this:
Code:
[URL] javascript:alert("OKAY")
but the above line of code won't work.

View 9 Replies View Related

Programming :: Slideshow Of Images In Javascript?

Jun 28, 2011

Check out the frontpage of mail.com - how do I do the scrolling images in Javascript, like it's doing?

View 4 Replies View Related

Programming :: Javascript GUI Stuff On 123reg?

Jan 11, 2011

I went to [URL] the other day, and I'm really impressed with the way, when you click on domain, it adds it to the cart WITHOUT A REFRESH. But what I really want to know is - how does it do the slick little effect when you click "Add to basket", when it "appears" on the right hand side?

View 4 Replies View Related

Programming :: Javascript Line Break

Feb 25, 2011

I have some variables that are loaded from mysql - in mysql, the line breaks are not indicated by ' or '<br>' or anything -they are just line breaks. the variable is loaded into javascript and then inserted into a <pre> element. the line breaks are not showing up.

pre1 = pre1.replace(/>/g,">"); - this works well, naturally. but how do i get those line breaks to show up as line breaks in a browser?

I've tried many variations of something like:

View 1 Replies View Related

Programming :: Javascript To Verify Correct URL?

May 31, 2011

Lets say I have a site "Website1.com"

On that site I want to run a little javascript that verifies that the site was accessed as "Website1.com" and not "dev-Website1.com"

If it was accessed correctly, nothing happens. If it was accessed incorrectly, it displays an error saying "You are trying to access this site incorrectly."

What is the simplest way to accomplish this?

View 1 Replies View Related

Programming :: JavaScript - Window.onbeforeunload

Nov 13, 2010

I am using window.onbeforeunload to keep people from accidentally leaving. I was hoping to intercept this event, run my own dialog box and load another page that closes the window, or of course, cancel.

I'm needing this because my site is a single page and I can't figure out how long people are visiting for, if I could load an exit page, then I can figure this out.

View 6 Replies View Related

Programming :: Understanding This Construct In Javascript?

Dec 3, 2010

var param = function() { <whatever> } ;What exactly does the above MEAN, and why have they included this in the language this way?

View 6 Replies View Related

Programming :: Trying To Understand This Function In JavaScript

Dec 9, 2010

In my book, this is an example of a recursive algorithm:

var reverseArray = function(x,indx,str) {
return indx == 0 ? str : reverseArray(x,--indx,(str+= " " + x[indx])) ;; }
var arr = new Array('apple','orange','peach','lime');
var str = reverseArray(arr,arr.length,"");
alert(str) ;

I'm trying to understand it, I'm stuck at the (str+= " " + x[indx])) part - that part of the function definition expects an ARGUMENT, am I right? What's being passed to it is a bit of PROGRAM, the str+= stuff. So - how is it working?

View 7 Replies View Related

Programming :: Python Regular Expression - AttributeError: 'NoneType' Object Has No Attribute 'group'

Aug 23, 2010

I am trying to scan a website for http references (links) with this script:

Code:

from urllib import urlopen
import re
current_site = urlopen("http://en.wikipedia.org/wiki/").read()
search = re.search('href="[a-zA-Z0-9]"', current_site)

[code]....

I get the following error message:

Code: Traceback (most recent call last): File "C:UsersadminDesktopcrawler.py", line 8, in <mo print search.group(0) AttributeError: 'NoneType' object has no attribute 'group' I have googled the error

View 2 Replies View Related

Programming :: Audio Level Meter In Javascript

May 23, 2011

When someone is speaking into the mic, I'd like a "level meter" such as the one that comes with gnome sound recorder, that flashes up and down when a sound is made or somebody talks.This will be done in Javascript, using the brand new "Rainbow API", i.e. inside the browser.I know nothing about audio programming, so - where would I get *started* with something like this? Could anyone tell me at least WHAT to Google?

View 3 Replies View Related

Programming :: JavaScript - File Not Recognized As XML By Firefox

Feb 4, 2010

I'm loading an XML file stored in a tiny web server (based on lwip). This web server is not very cooperative and is not marking the http content-type as "text/xml". As result, Firefox is not recognizing the file as xml (IE does) so I can't use DOM methods for parsing the xml file. overrideMimeType("text/xml") should help me avoid this problem but, even having overrided the mymetype, the content-type received is still "text/plain". This is a portion of my JavaScript code:

Code:
var xmlObj;
// loadXMLdata is called from the html file
function loadXMLdata() {
var dataFile = window.location.href.substring(0, window.location.href.lastIndexOf("/") + 1) + "config/myfile.xml";
if (window.XMLHttpRequest) {
xmlObj = new XMLHttpRequest();

// This should override the mimetype...
if (xmlObj.overrideMimeType)
xmlObj.overrideMimeType("text/xml");
xmlObj.onreadystatechange = fillXMLdata;
xmlObj.open("GET", dataFile, true);
xmlObj.send("");
} else {
alert("Your browser can not handle this script");
return; } }
// fillXMLdata is called from loadXMLdata once the xml object is ready
function fillXMLdata() {
if (xmlObj.readyState == 4) {
// Here Content-Type shows again "text/plain"
alert(xmlObj.getAllResponseHeaders());
var xmlDoc = xmlObj.responseXML.documentElement;
// And here section is null
var section = xmlDoc.getElementsByTagName("section")[0]; } }
The xml is quite simple:

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<section>
<item>1</item>
<item>2</item>
</section>

View 1 Replies View Related

Programming :: Javascript Image Sliding Direction?

Jun 2, 2010

im trying to learn javascript. so i choose to start out making a image slideshow banner that auto scrolls on load no special buttons. so since i had no idea were to start i found code that was free to use commercial and non commercial and ill be able to change it. heres that code:

Code:
var SLIDETIMER = 3;
var SLIDESPEED = 3;

[code]....

View 2 Replies View Related

Programming :: Javascript Many Characters As Reg Expression Replace?

Jan 2, 2010

I'm working with javascript and trying to replace all instances of a Roman character in a string with nothing. How do I assign var reg to all Roman characters? In UTF8, capital letter A is U0041 and at the other end, small z is UFF5A.

So, I'd like to do something like:
var reg = u0041 - UFF5A;
str1 = str.replace(reg, '');

I think you get the idea. I have no idea if that can be done. The idea is to take this string (for example): str = make a door-to-door[house-to-house] visit / ring every doorbell." And take out all the Roman characters and define it as str1. And then take out all the Korean characters (u1100-uFFDC) and define it as str2. In fact, a WAY more useful thing to do would be to replace the instance of this: [u1100-uFFDC]+" "+[u0041-UFF5A] with [u1100-uFFDC]+","+[u0041-UFF5A] so that the output would be a .csv file.

View 5 Replies View Related

Programming :: Playing Sound In Javascript And HTML5?

Jan 14, 2011

I can play a sound on my local machine using the following code, but when I upload to a server the same code it does not play. I cannot work out why, the link below gives the code. The multi channel code is here:

[URL]

Code:
<audio id="multiaudio1" src="audio/flute_c_long_01.wav" preload="auto"></audio>
<audio id="multiaudio2" src="audio/piano_chord.wav" preload="auto"></audio>
<audio id="multiaudio3" src="audio/synth_vox.wav" preload="auto"></audio>
<audio id="multiaudio4" src="audio/shimmer.wav" preload="auto"></audio>

[Code].....

View 4 Replies View Related

Programming :: The Perfect Javascript Tutorial Or Book?

Jul 30, 2011

I'm looking for javascript tutorials or books that meets the following criteria:

1. Very thorough: Starts with the most fundamental concepts and progresses logically from basic to advanced concepts, without skipping over important ideas for the sake of expediency.

2. Lots of small practice exercises that parallel the concepts and syntax being learned.

I've looked at a lot of tutorials, but they all tend to be lacking in one of these areas or the other.

View 1 Replies View Related

Programming :: How To Validate An IPv6 Address Through Javascript

Jun 18, 2010

How can I validate an IPv6 address through javascript before using the IPv6 value in my cgi script?

View 2 Replies View Related

Programming :: Libxml2: Removing Output On Stdout/stderr - Element CA Does Not Carry Attribute Maxlength

Jul 26, 2010

I'm using libxml2 to handle/manipulate some XML files. In order to check the consistency of a XML file, I have a DTD and I'm using the xmlValidateDtd method to compute the check.

However, when an error occures during the check (for example an attribute is missing in a XML tag), then libxml2 writes the error on the stdout/stderr. For exemple:

Code:

/home/XML/FreeFour.xml:18: element CA: validity error : Element CA does not carry attribute maxlength

The method return the right result (true or false depending on the check result), but occurring errors are written on the stdout/stderr, and I actually don't want that.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved