Collaboration Website - Which Me And A Friend Can Simultaneously Edit Code Together?
Nov 16, 2011Is anyone aware of a website which me and a friend can simultaneously edit code together? Much like google docs, but for code?
View 2 RepliesIs anyone aware of a website which me and a friend can simultaneously edit code together? Much like google docs, but for code?
View 2 RepliesI'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:
View 5 Replies View RelatedI have this scroll to top code, but to edit the problem is that I will not see this eksamplen the page evry time, would like to reach all the way down on the side to be displayed. Here is Scroll to Top code:
[Code]...
I'm wrestling with this bit of code that almost works but does not. I'm only guess is that I need to find a way to edit the actual CSS document from the outside... which I'm assuming isn't possible. Is it? I've got a basic CSS Rollover effect going on. The kind that changes the background-position on hover. However I've defined the actual background image with PHP (a custom field in Wordpress) as a style="..." in the <a> tag. When I define the background-image in the CSS it works! When I define the background-image as a style="..." it does not work. Can I use javascript or something to edit the actual CSS document?
View 5 Replies View RelatedI have been given a piece of code that validates passwords, but need to edit the code with correct variable names and indentations etc.
Here is the original code:
What the variables n1 and n2 are/ what they do?
i want to ask that is it possible that using javascript injection the contents of a web page can be altered (add / edit / deleted) in Line of Code.Since, this has happened with me couple of times,talking to the support team at my hosting provider, they say that its due to the security holes in the Coding, but i think that its the security issue at the hosting side (since modifying the web pages code)i've found this code immediately after the opening of the body tagearlier the page snoofing for the above URL was working, but now its not producing the output. (so can not post whats inside it).My Another website (hosted by the same provider) is also infected. there the code immediately after the body tag is again the page snoofing yeilds no output with the error
View 6 Replies View RelatedHeres the javascript I use to email a friend.
I like it because it works on any page (and we have over 3,500 using it).
It's simply results in a mailto filling in the page TITLE as the mail Subject and the URL as the mail text.
<script language='JavaScript'><!--
document.write ('<A href="mailto:?subject=')
document.write (document.title)
document.write ('&body=')
document.write (document.URL)
document.write ('"><IMG src="/ads/envelope.jpg" width="50" height="25" border="0" title="Email this page to a friend."/></A>')
// --></script>
Do let me know any tips to enhace it, or things to watch out for.
I have code that works fine in Firefox, but not in netscape.
I would like to open a popup window to display an "email a friend page".
this is my html/javascript
HTML Code:
<a class="emailicon" href="/e/email" title="Email Article" return false;">Email</a>
But my window does not open that size. What am i missint. IE and netscape show a full 100% size browser window.
I have been developing JavaScript for websites on and off for about a year now, and have recently been working on a website project with a couple friends (the url). The project is about done and I think I'm ready to start telling everyone about it, but I thought I'd have some coders with more experience go through my code and suggest improvements that can no doubt be made. I've tested with the Error Console and run it through JSLint, so there shouldn't be too many worries there. It uses jQuery with no extensions. The code is fairly small so it shouldn't be too much of a hassle, only a couple hundred lines, nonetheless I won't post such a conglomeration here unless it is explicitly requested.
View 3 Replies View Relatedcurrently i am developing w3schools type website.
w3schools has ' Try it Yourself ' tab when visitors can edit code for tutorial.i wanna doing this type of function and i have already done but only a problem facing.An additional code Website Analytic Code always appears in my ' Try It Yourself ' textarea field.how can i avoid this additional code?
I need a java script code that it allow users to post their questions and I can answer them .
How can I do so ?
I was wondering if there were a snippet that I could add to my JavaScript code that would alert me when the .js file has been executed remotely?
Basically I want to be able to tell which websites have my script on them, so maybe something I could encode with jscrambler that would send me an email message with the url that the code is being run from or better yet if I could set up some code on a website of mine that would show all the urls that have had the .js executed on them?
I am doing this because I have some codes which I ask my partners not to give out and I would like to be aware of any sites that are running my .js file.
I am more than willing to give FB ad coupons, adwords vouchers or a paypal donation if anyone can help.
My website was recently ftp hacked and a file inserted into it - js.php - which seems to be some sort of advertising spam programme. Having spotted the file I have renamed it to hide it but lots of other sites are still referring into my site looking for this php file. What I would like to do is to *just* open a java alert box on the referring sites to alert the users that the site has been hacked and that they should notify the webmaster so that he can fix his site.The line referring into my site is -
<script type="text/javascript" src="http://www.mysite.com/js.php"></script>
Is this something simple to do?
I'm somewhat experienced in coding but I'm not the best. I've been trying to figure this out forever and I'm beat. I am trying to insert a thickbox popup. I am trying to use a Iframed popup code. This one as follows:
[Code]....
I advertise on the internet and they want me to link my webpage to their webpage with an dhtml code...Then they will list my website on their page.. I use geo cities page builder for my webpage.
View 1 Replies View RelatedI'm trying to get multiple scripts to run simultaneously. As of now, my hover drop-down menu is not working on the "Teams" page, but all other scripts work. I have 3 other scripts running on the Teams page, and was wondering how I could get the menu to work as well (seeing how it's pretty important). Code:
View 4 Replies View Relatedhow can I make a function work on an element while at the same time the animate method is applying to it?
as example, I want to make an element that change its height and his background position move by 100px every half a second.
I have 2 things that I want to show/hide using JS.
Code:
<html>
<head>
<title>Hidden Div</title>
<script language="JavaScript">
[Code]...
If I don't use style="display:none" inside the divs, I see them both initially and I can hide/show each one depending on which link I press. But the thing is that I need both divs to be hidden in the first place, and when I click on ONE, to show TWO, when I click on TWO to hide ONE and show TWO etc. Each time 1 div should be visible, depending on which link we press. The other must disappear.
1. I have this list of 3 products/items that is created and displayed automatically through a for-loop. By changing the number in this loop, I can either add or subtract items of this list. More and more items are supposed to be added to list on a regular basis.
2. For each item, a number of customer-comments should be displayed and looped. I accomplish this using Arrays, where I can easily add new comments for each individual item to the loop.
3. Each item may have a different number of comments.
My goal is to have a system that effeciently allows me to add new comments at a minimum effort from my part.The comments loops fine, as long as I only choose to loop them for one item at the time. As soon as I try loop comments for two or more items at once, trouble ensue.
Below is my code:
Code:
<SCRIPT LANGUAGE="JavaScript"><!--
//SBC verdicts
verds_sbc = new Array(new Array("Great Game!","Good game!","I love this!"),new Array("AVGN","CurlysWorldof SOftware","ANGRY JOE"),new Array("www.cinemassacre.com","www.curlyswordsofsoftware.com","www.angryjoe.com"));
[code].....
I developed a website with php. Using cms, users can upload an image and a textual description of this image.Using jquery, images change automatically.Now, i want that textual description changes with the imageIn my generated html code i have:
<script
type
="text/javascript"
[code]....
So at the moment I'm working on an Ajax powered navigation that's animated with a horizontal slide and fade. So far I've imported the Effects Core and Effect "Slide" from the jQuery UI to get the horizontal slide effect in. Here's the documentation on the specific slide technique I'm using from the jQuery UI:[URL].. You can see the work I've done so far:[URL]... As you can see, the Ajax and horizontal slide features are working properly. However, one thing I can't get to work is the horizontal and fade effect to occur at the same time. I mistakenly tried to chain the show/hide functions with the fade function, but of course it happened sequentially instead of simultaneously.
I looked up for solutions online and most point to the animation function as the solution. In this case, I can't figure out a way to work with it because the animation function seems to manipulate the CSS to get the desired effects. While I could have animate change the width of the content area along with its opacity, the width resize would squeeze the text as the content area shrinks which is undesirable for my case. This is why I'm using the Effect "Slide" in the first place, to prevent the text getting squeezed as the content area slides.
So is there anyway I can get a simultaneous fade working at the same time with the Effect "Slide", or do I have to look for other methods of horizontal sliding to get it to work with fades?
What I'm trying to do is display whatever is typed within an input field simultaneously inside of a <p> tag.
For Example:
If the name Mark is typed into the input field, i would want "Mark" displayed somewhere else on the page inside of a <p> tag and the letters are typed in the input field it displays each etter as its being typed.. is this possible?
I am working on a project that shows archived data as well as current data on the same page. When the page builds, current data is shown, archived data is hidden (by using a div with id="archive"). I found comments here that getElementsByName was not a good cross browser way to handle this (and I'm not sure how to use that anyway). Can someone suggest the correct way to handle this?
There should be a link that, when clicked, will grab each element on the page with id="archive" and toggle the display property (none or block).
Here is the current code:
function archives(toggle) {
if (typeof(toggle) != "undefined") {
if (document.getElementById(toggle).style.display == 'none') {
document.getElementById(toggle).style.display = 'block';
[Code].....
This works just fine, but only for the first element that it finds. I need many elements with the same name to be effected.
I'm one of the main developers from [URL](which is a gaming website), One of our main games is Free rider 2, Which we have converted to run via a database so people don't have to manually send around track codes so other people can evaluate their tracks. I am trying to build a track previewer in html5/javascript which will eventually replace our current one written in flash (which lags terribly on large tracks)
I am stuck on 1 thing though, With the larger tracks there are up to thousands of lines that are drawn using lineTo() moveTo() etc. And when i move using the arrow keys, It requires the javascript to reload the track, and parse every single line again, Causing the screen to turn white whilst it does so.
Is there a way i can use a similar method to the way it has been done in the flash version, where it is in a movieclip, which then instead of moving each line, it moves the movieclip instead.
Script:
<html>
<head>
<script type="application/javascript">
var offsetx = -133;
[Code]....
I'm using Lightbox picture displayer [URL].. and a content slide show UI [URL].. on the same pagesimultaneously. Although when I connect to the javascript files in my html page one of the effects won't work. Whichever javascript file I include last doesn't seem to work.
In the scenario below my content slide show effects won't work because they are listed first. It seems that whatever is listed last overrides everything else. I've also listed the error I get when running the page.
[Code]...
The javascripts files in my website are constantly getting injected with malicious codes which redirects my website
View 2 Replies View Related