View Single Post
Old 09-28-2018, 12:42 PM  
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,636
Hi ICebol,

Sorry but this didn't work for me. But I didn't include enough detail. Here's more:

I have some HTML code that looks like this:

*Start Loop*
<img src="<!--Image-->">
*End Loop*


Where the value of <!--image--> looks something like this:


Code:
http://1.1.1.1/path/imagename.jpg
So what I want to do is have a javascript that runs within this loop, and inserts a character at a specific spot of that URL.

Does that help?


Or put another way:

*Start Loop*
*Load Image URL*
*Javascript find character N and insert X after N*
<img src = "use new URL to display image">
*end Loop*
__________________

Custom Software | Server Management | Integration and Technology Solutions
https://www.2much.net
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote