Hide Certain Parts Of The Website?

Feb 6, 2009

I want to hide certain parts of my website by using JavaScript! The small image or a window should appear and cover things up.

This is an example of the window I had in mind: link [URL]). Anyway, I'm new to all this JavaScript business and I don't know how to customize these things. So if anyone has done such things before or knows how to do it

This window widget should have the following characteristics:

- it should stay still where I put it - it shouldn’t move when you scroll down the page (here is a good example [URL]

- website visitors shouldn't be able to move it

- it shouldn't have visible boarders and X button, just background color

View 2 Replies


ADVERTISEMENT

Make Something Show Only On Some Parts Of A Website ?

Mar 8, 2011

I have a site where I want to show a html code if the the url is www.tld.com/pris/*anythinghere* but not if the url is TLD Information Technology specialists without anything more. Example: I go to CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News -> nothing shows, then I move on to[url].....the html code shows.I know how to do this with php but I have to use javascript here.

View 1 Replies View Related

How To Hide Website Contents Using Java

Mar 29, 2010

This is my bit of code and I will try to explain what I want to achieve.

<table width="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="30"><font size="-2">Day</font></td>
<td width="50"><font size="-2">Period</font></td>
<td width="50"><font size="-2">Time</font></td>
<td width="50"><font size="-2">Total</font></td>
<td width="35"><font size="-2">Code</font></td>
<td><font size="-2">Note</font></td> .....

Basically this gives me a table with all the start and finish times for each day from Monday to Sunday. What I'm looking at is the ability to hide particular day using java if possible. I know you can use div's to do this and I've searched the forum for solution but it looks like my case is unusual. I want to use show/hide buttons to display certain day and hide rest of them. Is it possible to put the new code around the existing one?

View 1 Replies View Related

Getting The Url Parts?

Mar 18, 2010

I am trying to get the url parts using javascript my url looks like this [URL]I need to get the "Home" piece of the url I tried window.location.pathname but it only returns /

View 6 Replies View Related

How To Extract Parts Of String

Nov 14, 2011

I need to make script which takes from one field string(numbers separated by space copied from excel) divide it by space into variables and insert into another fields on this page. <textarea name="receiver1" id="receiver1">

View 1 Replies View Related

Show Only Some Parts Of An Iframe?

Jun 4, 2009

Let's say I have another URL, [URL]

and this URL Contains these codes :

<!--- iframe.html content --->
<html>
<head>
<title>iFrame</title>

[Code]....

I've tried searching google for some answer and make the codes on my own, still I end up being miserable..

View 3 Replies View Related

Submit Certain Parts Of A Form?

Feb 12, 2011

I have two divs in my form that contain slightly different fields. The user can view one vid at a time depending on the radio button it's checked (either business or individual). When I submit the form, all the fields in both divs are submitted and emailed at the same time. I need to submit the div that is visible and has the user info only. How can I accomplish it?

javascript file:
//collects the data and erases the form
function submitForm() {
document.getElementById('apply').submit();

[Code].....

View 1 Replies View Related

How To Make A 2 Parts Dropdown

Nov 15, 2011

I am trying to make a foot calculator. And i will make a 2 parts dropdown. for example:

1) (in the first dropdown) Where have you eaten?

<select size="6" id="availableOptions" name="availableOptions">
<option value= 1>McD </option>
<option value= 2>Burger King</option>
<option value= 3>Sunset</option>
</select> </td>

2) (If you have eaten on McD, you will see the foot you can get on Mcd. And if you have eaten on Burgerking, you will see witch foot they have.)

How can i get this to work ?

View 2 Replies View Related

Update Only Parts Of A Page?

Jul 28, 2009

I am working on a website which has a large image slideshow on top, with the logo. The content articles are in separate HTML files, and are embedded in the main document with a simple PHP include function.

The problem is that clicking on a link causes a refresh of the whole site, the gallery resets to the first image, and there's a momentary flashing of the screen.

I would like to explore the options of having only the main section update (somehow) when the user browses the site, leaving the rest intact, on screen.

I am worried about these potential issues:

- Will it be Search Engine friendly? (i.e. finding and indexing the separate articles)

- The vertical size of the site expands depending on the length of the content. Will this partial refresh be compatible with this?

View 2 Replies View Related

Parts Of Form Not Working?

Oct 21, 2010

I have an HTML select list that is populated when a user click on radio buttons.

That part seem to be working fine.

The problem is, I also need a message to appear in a textfield which is in another form. So say when a user click checkbox 1, some text are displayed in a textfield. Example: You click checkbox 1.

I just can't get that part to work.

Here is the complete code:

Code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script type="text/javascript">

[Code].....

View 11 Replies View Related

Way To Print Only Parts Of A Page?

Jul 30, 2003

What is the easiest way to print only parts of a page. I have a mail order page that lists the products ordered and the customers information, plus buttons and instructions. I all the info is correct I want the user to press a print button, but only want the items ordered and cust info to print, none of the buttons or instructions.

I read that I can use a hidden frame and print this frame but wanted to avoid frames. Is there another way?

View 2 Replies View Related

MooTools Tooltip - Remove 2 Parts From The URL?

Mar 25, 2009

I am trying to use the MooTools Tooltip and with the Title I saw that it can remove part of the URL. I was wondering if there is a way to remove more from it. URL: http:[url].....Right now I have it so that http[url]....is replaced by Article: Is there a way to also make the &p=123 removed from displaying? The only part that really changes in the URL is the 1109

PHP Code:

var Tips = new Class({
options: {
onShow: function(tip){[code]......

View 1 Replies View Related

JQuery :: Mixing Parts Of A Script?

Oct 10, 2010

jQuery :: Mixing Parts of a Script?

View 22 Replies View Related

How To Download Selected Parts Of Text

Nov 23, 2010

I wanted to download selected parts of text from list like showed here: But I want to take only nick and last points. And later I will put result in table. This text repeating to id 100 or more.

1 - id
nick - need it
[tag]
2002 - points
647 - points
489 - points
2 - points
3138 - points - need it
2 - id
nick
[tag]
2393 - points
270 - points
335 - points
3 - points
2998 - points

View 11 Replies View Related

JQuery :: Copy Parts Of A Form?

Nov 18, 2011

I'm creating the backend part of a slideshow of pictures. It initially has no slide, and the form has to display just the group of fields for one slide.

There is a select field for "number of slides" with an onchange handler, which depending on its value, will display more groups of fields, for other slides, or remove the remaining ones. So I want to copy an original group and append it to the container.

The problem is that all the fields have an index, in order to identify which slide they belong to.

What's the proper way to implement this?

View 5 Replies View Related

Checkbox And Hiding Parts Of A Page

Nov 24, 2011

I am looking to implement javascript to do the following: I have a checkbox that I would like to control the a entire form below it. The form would be made up of several tables, text and radio fields etc. I have tried using various solutions, but only seem to get small parts to hide and not the entire tables. So for example, I am looking for something that would work like this:

[Code]...

View 11 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

JQuery :: Get The Number Parts And Compare From These Div Tags?

Apr 13, 2010

<div class="product-info product list"><span class="uc-price-product uc-price-list uc-price"><span class="price-prefixes">List Price: </span>$34.00</span></div>

<div class="product-info product sell"><span class="uc-price-product uc-price-sell uc-price"><span class="price-prefixes">Price: </span>$34.00</span></div>

I have list price and sale price like above. What I am trying to do is to compare list price and sale price; if sale price is lower than list price then display it as Was: $34.00 Now: $30.00 If both are same, then just hide the List Price. I am not sure how to get the numbers and compare; Honestly i am not sure where to start; i started like: alert ($(".uc-price-list").text()); but it is displaying inner spans; .val() displays empty string.

View 4 Replies View Related

JQuery :: Make Parts Of A Image Transparent?

May 5, 2011

i saw this nice image fades on the nivo slider >>how are these part transparent tile-fades made?and is it possible to cut out a transparent static part from a JPG with jQuery?(like a rectangle part on the JPG is transparent made with jQuery)

View 3 Replies View Related

JQuery :: Wrap Parts Of A Dynamic List With A Div

Nov 29, 2011

I am using the vertical scrollable by Flowplayer. There is one aspect of the set-up I can't get to work.

I have Scrollable working on a dynamically generated category list in Wordpress. There could be as many as 15 items in the list, but I only want to display five at a time. In order for Scrollable to work properly, each batch of five list items needs to be wrapped in a div (see example below). I'm pretty sure this is something I should be able to do in jQuery, but can't figure out how to do it.

Ideally, it should also work if there are only 12 items in the list by ignoring the missing three to make a multiple of five.

View 2 Replies View Related

Parse Parts Of A URL And Insert Into Form Fields?

Jul 29, 2009

I am sending out a small email blast to my clients. I would like to offer them a free download of a report, but I don't want to have them re-fill all of their information. Therefore ,bit of code that will parse the URL and place the separated items into the form fields. Then they can hit submit and be done.[url]...

View 4 Replies View Related

Ajax :: Reaching The Parts Doesn't Reach?

Nov 15, 2009

The site I'm working on lists holiday accommodation (from a searchable database). The user can then 'short-list' several properties for further action (as yet unspecified). This is similar to having a list of products and adding them to a cart. Ajax is working fine to the point of adding the items to the Short-list, but because the page is no longer refreshing certain PHP variables aren't getting changed, so: (a) The 'Add to Shortlist' button isn't changing to 'Remove' and (b) The 'div' showing the Short-list controls isn't appearing

A non-Ajax version can be seen at: [URL]

This will show what should happen when an item is added to the Short-list, but the page refreshes and returns to the top. With Ajax nothing moves (which is the intention), although the addition to the Short-list does happen in the background, and everything displays as it should when the screen is (manually) refreshed.

I'm not sure how best to get the changes (a) & (b) above to happen with Ajax without losing the non-Ajax capability provided by the PHP. I have wondered about setting the button image with CSS and then changing the class using Ajax, but haven't tried it yet. It must happen only on the clicked button, of course.

View 2 Replies View Related

Making Parts Of A Form Visible/invisible

Dec 29, 2004

I have a form, its a very big form. About halfway down is a series of checkboxes (8 or so). Each one toggles whether the item I'm editing belongs to one of the categories or not. Each checkbox is linked to a subform that is invisible. (by subform I mean one or more form elements).

When a checkbox is clicked I want the subform to appear, and when it is unclicked I want it to disappear. Now the tricky part is, that when the page loads, it draws information from the database, and some of these checkboxes will already be clicked, so those forms need to be visible right from the start.

I'm just having far too many problems, can anyone point me towards some information that might help? Reply if I wasnt clear enough and you need clarification.

View 3 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

Determine If The Id Of An Element Matches A String That Has Multiple Parts?

Jan 20, 2010

I'm trying to determine if the id of an element matches a String that has multiple parts.

Code:

function platformChange (this)
{
thisID = this.id;

[code]....

The value of this.id is "platform_SWFUpload_0_0" but the result of thisID.match (pattern) is null.

View 2 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







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