Click here to Skip to main content
15,949,686 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: passing 0 to a function Pin
Richard MacCutchan12-Jan-24 22:08
mveRichard MacCutchan12-Jan-24 22:08 
GeneralRe: passing 0 to a function Pin
mike741113-Jan-24 0:48
mike741113-Jan-24 0:48 
GeneralRe: passing 0 to a function Pin
Richard MacCutchan13-Jan-24 1:55
mveRichard MacCutchan13-Jan-24 1:55 
GeneralRe: passing 0 to a function Pin
Dave Kreskowiak13-Jan-24 3:52
mveDave Kreskowiak13-Jan-24 3:52 
AnswerRe: passing 0 to a function Pin
Jeremy Falcon31-Jan-24 7:14
professionalJeremy Falcon31-Jan-24 7:14 
QuestionHow to Reference a local image file to display it Pin
Tom Mort31-Dec-23 7:00
Tom Mort31-Dec-23 7:00 
AnswerRe: How to Reference a local image file to display it Pin
Richard MacCutchan31-Dec-23 21:42
mveRichard MacCutchan31-Dec-23 21:42 
GeneralRe: How to Reference a local image file to display it Pin
Tom Mort1-Jan-24 6:17
Tom Mort1-Jan-24 6:17 
Thanks to the link to the javascript tutorial. It looks like there is a lot of good info there. I just happened to come across that site if not the page yesterday.

I guess it makes sense that if java script is a language for web pages, access to local files would not be a good thing because of malware, etc.

I was playing around a little with putting a sample image online and putting the URL to it in the code I have. A complicating factor is that the images I want to use are SVGs. Most free hosting sites don't allow them as they are text files and can be full of code.

I did find where I could do this for free on GIT Hub or actually now it is a clone called GIT Hack. I just posted a different SVG than I had in mind. I wound up with a type mismatch error between the line I inserted it in and the last line. I still haven't sorted that out, but in looking into types and type mismatches is where I came across the site that the java script tutorial is on.

I also came across something called open layers which is a set of java script tools for working with layers which sounds like something I could use.

That said, I really would prefer though to create shareable file that includes the images and code, etc (not a link) so it is something that stands alone rather than online. I'd like to create something permanent. Free online things come and go, cease to be free, just change, etc. I don't want to have to pay perpetually either, in fact I won't be around forever either. One of the images I ultimately want to overlay is from the 1860s onto a more current Google Earth type map.

I think I can use photoshop pro to do something like this, but I think it costs a lot, think maybe anyone trying to view it might need it as well, etc.

So I guess I'll continue with java script for now.

Thanks again.
GeneralRe: How to Reference a local image file to display it Pin
jkirkerx1-Jan-24 13:26
professionaljkirkerx1-Jan-24 13:26 
GeneralRe: How to Reference a local image file to display it Pin
Tom Mort1-Jan-24 14:24
Tom Mort1-Jan-24 14:24 
GeneralRe: How to Reference a local image file to display it Pin
jkirkerx1-Jan-24 17:32
professionaljkirkerx1-Jan-24 17:32 
GeneralRe: How to Reference a local image file to display it Pin
DALLAS SENSIE8-Apr-24 15:45
DALLAS SENSIE8-Apr-24 15:45 
GeneralRe: How to Reference a local image file to display it Pin
tena lena8-Jun-24 11:05
tena lena8-Jun-24 11:05 
Questiondrop down list and submit button Pin
prasad penkey4-Dec-23 2:33
prasad penkey4-Dec-23 2:33 
AnswerRe: drop down list and submit button Pin
Richard MacCutchan4-Dec-23 3:08
mveRichard MacCutchan4-Dec-23 3:08 
AnswerRe: drop down list and submit button Pin
Andre Oosthuizen5-Dec-23 8:50
mveAndre Oosthuizen5-Dec-23 8:50 
GeneralRe: drop down list and submit button Pin
Richard Deeming5-Dec-23 22:05
mveRichard Deeming5-Dec-23 22:05 
GeneralRe: drop down list and submit button Pin
Andre Oosthuizen6-Dec-23 7:05
mveAndre Oosthuizen6-Dec-23 7:05 
Questiondropdown Pin
prasad penkey4-Dec-23 1:39
prasad penkey4-Dec-23 1:39 
AnswerRe: dropdown Pin
Richard Deeming4-Dec-23 1:45
mveRichard Deeming4-Dec-23 1:45 
AnswerRe: dropdown Pin
Andre Oosthuizen11-Dec-23 7:27
mveAndre Oosthuizen11-Dec-23 7:27 
Questionjavascript alert() not showing Pin
Ashish Tiwari Aug20233-Dec-23 6:00
Ashish Tiwari Aug20233-Dec-23 6:00 
AnswerRe: javascript alert() not showing Pin
Dave Kreskowiak3-Dec-23 9:07
mveDave Kreskowiak3-Dec-23 9:07 
QuestionInserting HTML from a fetch gives me extra blank rows..? Pin
William Morris 202124-Oct-23 18:58
William Morris 202124-Oct-23 18:58 
AnswerRe: Inserting HTML from a fetch gives me extra blank rows..? Pin
enhzflep27-Oct-23 23:00
enhzflep27-Oct-23 23:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.