NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Delete Warning
14652 Delete Warning http://newsourcemedia.com/index_view.php?id=55 There are just a few areas you will need to change to customize the code for your use. Number one is the message inside of the javascript event handler ("Are you sure you want to delete
row number "" name_cat ""
from the database"). Notice I used (
) for a new line and (") for quotes. You can delete them if you like. You can also delete or move around the (" name_cat ") inside the message.

The second thing you will have to modify is the link values ('yourpage.php?delete=293','293'). Change the file name to your serverside program file path and change the id row numbers ('293') to the id row number of your database rows.
JavaScript > Tips and Tutorials > Content Management Oct 12, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  



Other links at JavaScript > Tips and Tutorials > Content Management
You need to decide upon a name and location for the file you will be offering out. This is because you will be giving the sites that add your content to theirs a simple line of JavaScript to add to their page and call your file. This will mean no effort on their part once they have added the JavaScript to their site. A little regular effort on your part will be required in that you will need to update this file weekly or at whatever other interval you have decided upon.

For example I have decided to call my file weeklyarticle.js and place it in a folder called examples that I keep in my root directory. You can call your file whatever you like but please note that your file must have a JavaScript (.js) file name extension.
Category:

There are just a few areas you will need to change to customize the code for your use. Number one is the message inside of the javascript event handler ("Are you sure you want to delete
row number "" name_cat ""
from the database"). Notice I used (
) for a new line and (") for quotes. You can delete them if you like. You can also delete or move around the (" name_cat ") inside the message.

The second thing you will have to modify is the link values ('yourpage.php?delete=293','293'). Change the file name to your serverside program file path and change the id row numbers ('293') to the id row number of your database rows.
Category:

With Javascript, you can save time and money by using the ("src") to include remote or local documents. For example, you may have a web site serving 20 web pages. All 20 pages display the same header and footer item like site name, logos and links. However, if you were to change the header text, you would have to apply those changes all 20 pages manualy. That's not fun. Here is a faster way (View the test page.)
Category:




Main Category
165
2028
756
275
169
1801
1074
892
1127
7088
70
874
58
2145
170

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 18673
Categories: 1275
Registered Users: 537
Mailing List Subscribers: 2031
Unique Outgoing Hits: 192560

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
28 site(s)
PR 7
242 site(s)
PR 6
772 site(s)
PR 5
1846 site(s)

PHP News