Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Javascript

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 04-03-2012, 04:49 AM   #1
alen12345
Registered User
 
Join Date: Oct 2011
Location: LDH
Posts: 225
Picture with Javascript

How we add any picture with java script in my web sites?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
alen12345 is offline   Reply With Quote

Old 05-21-2012, 07:06 AM   #2
seo123
Registered User
 
Join Date: Sep 2011
Posts: 113
good post thanks
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
seo123 is offline   Reply With Quote
Old 05-29-2012, 09:45 PM   #3
dawidtailor
Registered User
 
Join Date: May 2012
Location: usa
Posts: 54
Quote:
Originally Posted by alen12345 View Post
How we add any picture with java script in my web sites?
It is very easy to add picture in java script.You can add any link for using iframe tag it is very important for add any picture in your website.I also share here one example of iframe tag how to use this.
<html>
<head>
<title>Web page</title>
</head>
<body>
<iframe src="http://www.homepage.com/plugins/like.php?href=YOUR_URL"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"></iframe>
</body>
</html>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dawidtailor is offline   Reply With Quote
Old 08-16-2012, 06:18 AM   #4
laithbarnouti
Registered User
 
Join Date: Aug 2012
Location: Australia
Posts: 11
How to animate the image using javascript?
laithbarnouti is offline   Reply With Quote
Old 08-16-2012, 07:05 AM   #5
davikerkrish
Registered User
 
Join Date: Jul 2012
Posts: 111
we can add image using java script with the image tag id. we have getelements.id option. we can define the path of the image with that.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
davikerkrish is offline   Reply With Quote
Old 05-19-2013, 03:05 PM   #6
bestbloggercafe
Registered User
 
Join Date: May 2013
Posts: 38
dawidtailor thanks
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
bestbloggercafe is offline   Reply With Quote
Old 07-17-2013, 05:29 AM   #7
ebrainnight
Registered User
 
Join Date: Apr 2013
Posts: 15
Quote:
Originally Posted by dawidtailor View Post
It is very easy to add picture in java script.You can add any link for using iframe tag it is very important for add any picture in your website.I also share here one example of iframe tag how to use this.
<html>
<head>
<title>Web page</title>
</head>
<body>
<iframe src="http://www.homepage.com/plugins/like.php?href=YOUR_URL"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"></iframe>
</body>
</html>
You suggestion is quite effective and useful to add picture through java script, now I sort out my problem.
ebrainnight is offline   Reply With Quote
Old 12-28-2014, 01:23 PM   #8
niel
Registered User
 
Join Date: Dec 2014
Location: Belgium
Posts: 131
glad you're out of your problem
__________________
Need some help on how to make your pc faster?
Got some trouble with a slow pc?
We can help you with making your pc faster.

Visit
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
niel is offline   Reply With Quote
Old 03-17-2015, 04:20 AM   #9
sdreamworks
Registered User
 
Join Date: Mar 2015
Posts: 4
davikerkrish.. thanks
sdreamworks is offline   Reply With Quote
Old 09-11-2015, 08:50 PM   #10
jogja75
Registered User
 
Join Date: Sep 2015
Location: mangiran, trimurti, srandakan, bantul, yogyakarta, indonesia
Posts: 6
Post

whether it's a regular photo or effect?
__________________
Wisata murah hemat,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
| Untuk Price List, silahkan hubungi costummer service kami 0856-4044-3940 -rara-
jogja75 is offline   Reply With Quote
Old 11-12-2016, 12:52 AM   #11
phamdung
Registered User
 
Join Date: Oct 2016
Posts: 23
Glad when see you get out of this problem , The other guys is very kindly.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
phamdung is offline   Reply With Quote
Old 12-08-2016, 03:07 AM   #12
Aman897
Registered User
 
Join Date: Jul 2015
Posts: 129
Give your image an id. Then you can do this in your javascript. document.getElementById("blaah").src="blaah"; You can use the ".___" method to change the value of any attribute of any element.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Aman897 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference between javascript and HTML?? eook.joc Graphic Design 18 11-22-2019 12:32 AM
Definitive Javascript to hide email address? ncjbhd Javascript 2 06-09-2014 06:27 AM
Good programming techniques: Minimizing javascript skywalker101 Javascript 7 03-19-2014 04:48 AM
Google launches Dart as a JavaScript killer kitchin Google 0 10-11-2011 01:47 AM
Single javascript across multiple pages. mjvndhsb HTML / DHTML 0 09-28-2011 03:07 AM


All times are GMT -7. The time now is 01:16 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.