Script To Replace Coding On "live" Website

May 2, 2010

A small script which can be hosted on a server which you can put an url into and will show website with changes

Example, website/gallery with thumbnail images and want to change the "thumb" file to "original" file

Eg. Gallery view .../images/1a/thumbnail.jpg but want it to be able to view .../images/1a/original.jpg

I'm sure this is possible as i can't imaging it would be a very hard code but am not used to coding only basic html at the moment.

View 2 Replies


ADVERTISEMENT

Coding Involving Div Tags - Sections That Have 'Not Available' As The Answer To Not Show Up On The Live Page

Feb 24, 2010

I am relatively new to Java and am going to be taking a class on it next fall. For now though, I am trying to code for a client I am currently working with and am hopelessly lost. The client I am working with has an ecommerce site with Network Solutions which uses aspx. It allows you to code html and link to css, java (pretty much anything except php). The problem I am having is that they currently have their product descriptions coded in div tags:

<div id='alternatebg'>
<div id='detailsgreybox'><div id='alternatename'><p>Alternate Name</p></div></div>
<div id='pd2'><p>Not Available</p></div>
</div>
<div id='usebg'>
<div id='detailsgreybox'><div id='use'><p>Use</p></div></div>
[Code]....

What they want to happen is for the sections that have 'Not Available' as the answer to not show up on the live page. I have tried to use <ns:if condition="..."> but do not know how to call for it to see if the div says 'Not Available'.

View 16 Replies View Related

Coding For Watch Implementation In Our Website ?

Sep 22, 2011

Coding of java script coding for watch implementation in our website.....

View 1 Replies View Related

Log Errors On Your Live Website?

Oct 9, 2011

Do you log JavaScript errors on your live website?

I mean the actual JavaScript errors that usere experience?

If you do, what tool do you use and how is it working out?

View 8 Replies View Related

JQuery :: Replace $.livequery With $.delegate Or $.live?

May 11, 2010

I've used nice livequery plugin for many things, not just for binding events. Now when jquery1.4.2 is out it seems like it is time to replace $.livequery() with new .delegate() or even .live(), but browser events like (ready) does not work. Am I using the incorrect event (with delegate)? For example I am using livequery:

$('ul.fileList li').livequery(function(){
var oi =$(this);
// DOM manipulation, appending menus and attaching plugins and so on

[code].....

View 1 Replies View Related

Coding Error Only On IE / Fix It?

Oct 7, 2009

On my blog, www.finkfinance.com, it loads but with the filing Javascript error code...

Does anyone know how I can fix this? I'm not a web coder and I'm lost when I open up the stepcaraousel.js file.

View 4 Replies View Related

Using Same JS Coding Twice On Page

Dec 27, 2009

I have a nice search engine but its seems i can't put it twice on the same page:
<script language="JavaScript">
function startSearch(){
searchString = document.searchForm.searchText.value;
if(searchString != ""){
searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
finalSearchString = "";
if(searchEngine == 1){
finalSearchString = "[URL]" + searchString;
} .....

How to put the code twice in the html page without creating a conflict as a result of identical codes?

View 4 Replies View Related

Coding For Both Js And Non-js Browsers?

Jul 13, 2011

I'm currently modifying a php controlled website and wish to distinguish between javascript and non-javascript browsers in order to decide which pages to display. I have a single php controller script which "includes" a number of html pages. I want to ensure that I cater for both javascript and non-javascript browsers (so functionality is the same, only the javascript pages have a far better look and feel to them).

Therefore I would like to code something along the lines of :

Code:
if (javascript_browser=='true')
{
include './javascript_page1.html.php';
exit();

[Code].....

View 1 Replies View Related

Javascript Coding Utils

Jul 23, 2005

Can anyone recommend a good editor for coding Javascript?? ie. once which
has 'intellisense' type prompting etc.

If there isn't an editor with this built-in, is there a program which does
it as a quick-ref help tool??

View 1 Replies View Related

Coding A Brute Forcer

Jul 20, 2005

Firstly it generates two numbers. One is the sum of the CharCodes and
the other is the product of multiply each of the charcodes together
and usisng the Modulus function.

If the text string is correct, the string is then used to decode (via
a relatively simple crypt) another string, which then gives you the
correct target url.

I hope that makes sense - if it doesn't, its pretty unimportant as the
question I have is as follows :

In javascript, how do I code something that allows me to cycle through
all the possible text strings. Ideally, I would like to read from a
dictionary file and then start a brute force.

Throughout each cycle, I imagine you just set input_user (in this
case) to the value of the next line in the file. For a dictionary
attack I imagine. That bit isn't too tricky I don't think but I can't
get my head around it. Maybe more coffee would help?

And I'm sure struggling to put together a brute forcer so I turn to
you guys and gals to ask if you could help me and point me in the
right direction on how to code this.

I'm assuming also that the code we end up with, would be generically
useful too as in we could vary the output (going to input_user) in
this instance to another variable and use it with another script?

View 10 Replies View Related

JQuery :: Trying To Get More Efficient With Coding?

Jul 1, 2009

This is a FAQ page I built with custom jquery function that toggles the answers open/closed on click of a question, and Im just wondering if anyone has a suggestion to make the code leaner and meaner:

[Code]...

View 1 Replies View Related

Order Form Coding

Mar 13, 2006

I need advice about creating an order form (I was sent here from the General Web Building forum!) and I have been told that JavaScript is the way to go - can anybody help with the following (I know nothing about Javascript really).

I have an order form and plan to have the data emailed to me (I have FormMail script installed on my server). The form will have the following fields:

Reference Number
Size / Cost
Quantity
Grand Total

Clients will enter the ref no., choose a size/ cost (radio-button), and quantity (text box). I plan to accept details for about different items. I just want the total cost to be displayed in a box at the bottom before the form data is sent to me.

Can anybody point me in the right direction of how I might go about this? Tutorials / sample code etc.

View 8 Replies View Related

Gallery Coding - Not Working In IE?

Feb 6, 2011

I've created a website for a client for their business, and the javascript is working in Safari & Mozilla, but not in IE. In IE you can click the image, but nothing activates. The ability to move from left to right to view images still works however. I'm wondering if having both of the javascript capabilities is fighting with the IE browser?I would love to hear of a solution - I'm not an expert in Javascript by any means.

View 3 Replies View Related

Get The Coding For The Same Style Navigation?

Jun 9, 2009

Just wondering if someone can point me where I can get the coding for the same style navigation on [URL]..I know its not flash, but I'm guessing its done by javascript?

View 1 Replies View Related

Files In Website Are Constantly Getting Injected With Malicious Codes Which Redirects Website?

Jan 28, 2010

The javascripts files in my website are constantly getting injected with malicious codes which redirects my website

View 2 Replies View Related

Code A Feature For Website Using DHTML Where The Person Viewing The Website?

Dec 29, 2005

I'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 Related

Coding An Enlarge Thumbnail Code?

Feb 28, 2011

What is the secrets or tricks of coding an enlarge thumbnail code? This is what I came out with so far...

<script language="JavaScript">
function enlarge(target)
{

[code]...

I would like to do the enlarging effect like this,[URL]

View 2 Replies View Related

Searching For JS Coding With Windows Explorer XP

May 22, 2006

When I change some JS code I often want to find all the files it might affect. To do this it is easy to search the directory containing my files with Windows Explorer.

But it appears to find only words that would appear on the webpage, and even HTML coding. But it doesn't find JS coding IF the file name ends in .html.

If I change the suffix to .js or .txt it finds the JS coding, but it's not practical to change the sufix of so many files for such a search.

View 6 Replies View Related

Debug Error From Script Coding?

Jan 7, 2010

I have to debug the error for eleave system for a company. when i do the testing i define that having an extra day for the service length at the system. i don't want you to settle the problem for me, just tell me where can i find the source to know where is the problem? at least i know where the souce it, so i can repair it.

View 1 Replies View Related

Extract Coding From Html File?

Jun 2, 2011

How to extract javascript coding from a html file?

View 1 Replies View Related

Including Js File With HTML Coding

Apr 1, 2010

In my JS file, I made sure to write the necessary html code for a menu using document.write statements (I call the JS file inside a div in my webpages).I know about escape sequences and I put backslashes before every special characters but my menu still does not appear. Maybe only a simple character is missing. The code do work when I write it directly in my html so there should be no errors in the code itself. Must be in the way I put it in my JS file.

View 1 Replies View Related

Efficient Way Of Coding To Not Display Buttons?

Dec 9, 2011

I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no.

The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)) Now using the getButtons() function, if the user selects button "1" in first grid (the grid which you have to open using (Open Grid) link, then it should display button "A" in second grid, if user selects button "2" in first grid, then it should displays buttons "A" and "B" in second grid, if "3" then display "A", "B" and "C" and so on.

Now except using if statements and stating which buttons should be displayed and not displayed depending on the button chosen in first grid, is there a more efficent way of coding this so that the display of buttons in second grid depends on what is selected in the first grid?

If it is using an array can somebody show a sample of this in their answer. You can just do it for one example and then I should be able to use that to fill it for the other buttons.

View 1 Replies View Related

JQuery :: Ajax Program On Website A Call Website B?

Nov 30, 2010

I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:

[Code]...

View 1 Replies View Related

Search Function - Getting Double Quotes Into Coding

Nov 11, 2010

I have completed the necessary function and it does not need any changes however from the "alert" I need there has to be double quotes surrounding the search 'Lboro'. (I know I may be making a meal of the coding however the lecturer wants us to follow this due to everyone being at different levels of programming). I have used the '' character however the double quotes do not end up in the position I require them?!

My Coding
function findAnyU (s){
var a = s , b , c , d , e = -1;
for (var i = 0 ; i < pages.length && e == -1 ; i++){
b = pages[i].indexOf('[');
c = pages[i].indexOf(']');
d = pages[i].substring(b+1, c).toLowerCase();
e = d.indexOf(s.toLowerCase());
}

if(e >= 1)
a += ' found'
else
a += ' not found'
return (a)
}
alert (findAnyU('Lboro' , pages));
Current Alert =
Lboro found

View 8 Replies View Related

Coding HTML/JS Form With Multiple Selections?

May 20, 2011

I need help setting up a form, I want to do some pretty neat things: It will say: What countries do you want to visit? [FIELD] Part 1: I want that when a user starts typing into the field, it will suggest under things that match what you have typed so far, sort of like facebook search does. So I would need a list of recognized country names. Now for example imagine I was using this, and I typed in M, it would list under a max of 5 valid entries begining with M, if I typed in Me, it would list the ones begining with Me, if I typed in Mex, it would show Mexico. Now the user would have to click this drop down suggestion to choose it.Part2: I want once a user clicks on a suggestion, it will "pop under" the input box or somewhere, with a "x" beside it to remove it. The user can now type in another country, and when it is clicked it too appears as a sort of "icon" under the input box or somewhere, with an "x" beside it. Clicking the x removes the country from the current list of countries. Once he is done, he goes on to other fields and the selected countries remain visible. Once a user submits the form, I want to get only the countries that were visible to him.

**An alternative idea, if this one is too complicated, would be to have a drop list with all countries in it, and once a person clicks one, it will remain and a "+" sign will appear under it. When pressed, another dropdown menu will appear so the person can choose another country from the second drop down, etc. OFC all selected countries can have an X to remove them. Idk how to do this either. how to do something like this, where do you recommend I start? Any ideas? I tried searching but I'm not sure what to call this so I couldn't find anything in the search.

View 1 Replies View Related

Windows Folder Options - How To Control By Coding?

Dec 12, 2005

I have an html link that links to a windows directory. It works very well and the code is as shown below:

<li id="toplevel"><a href="file://directoryA/engr/directoryB/RadiatorApplications">Cooling Charts</a></li>

This link is part of a web link tool that is used in our (very large) department to help staff find files quickly around the corporate intranet. The only think is, Windows Explorer ALWAYS opens in the "Tiles" view. Is there a way I can manipulate Windows (in code) to open in "List" view? Many users may not know how to reset their windows view, and I want to make this tool work as intuitively as possible.

View 2 Replies View Related







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